1 document.addEventListener('DOMContentLoaded', function() { 2 // FAQ Accordion Functionality 3 const faqItems = document.querySelectorAll('.faq-item'); 4 5 faqItems.forEach(item => { 6 const question = item.querySelector('.faq-question'); 7 8 if (question) { 9 question.addEventListener('click', () => { 10 const isActive = item.classList.contains('active'); 11 12 // Close all FAQ items 13 faqItems.forEach(faqItem => { 14 faqItem.classList.remove('active'); 15 }); 16 17 // If the clicked item was not active, open it 18 if (!isActive) { 19 item.classList.add('active'); 20 } 21 }); 22 } 23 }); 24 });
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.