Product Description Item: Pocket Watch Brand: Bonheur Model: Openheart Size: 16s Movement: Mechanical Jewels: 15 Case Material: Steel Country: France Gender: Unisex Product Measurements Standardized Size for Pocket Watches: 16s Product Condition Overall Condition: Fair, overall condition Functions: Running intermittently, will need service Case: Shows light scratches. Has patina and plating wear. Crystal: Shows scratches. Dial condition: Has spotting. Crown: Shows scratches. Winding: The winding is stiff.. document.addEventListener("DOMContentLoaded", function() { // Select all 'li' elements in the 'right' class div const listItems = document.querySelectorAll('.right ul li span'); listItems.forEach(span => { // Check if the dynamic tag's content is empty if (span.textContent.trim() === '') { // Hide the parent 'li' element if the dynamic tag is empty span.parentNode.style.display = 'none'; } }); // Select the paragraph in the 'right' class div for the condition note const conditionNote = document.querySelector('.right p span'); if (conditionNote.textContent.trim() === '') { // Hide the paragraph if the dynamic tag is empty conditionNote.parentNode.style.display = 'none'; } });