Nothing Found

It seems we can’t find what you’re looking for. Perhaps searching can help.

document.querySelectorAll('.lt-faq-btn').forEach(btn => { btn.addEventListener('click', () => { const item = btn.closest('.lt-faq-item'); const isOpen = item.classList.contains('is-open'); // Close all open items document.querySelectorAll('.lt-faq-item.is-open').forEach(el => { el.classList.remove('is-open'); el.querySelector('.lt-faq-btn').setAttribute('aria-expanded', 'false'); }); // Open clicked item if it was closed if (!isOpen) { item.classList.add('is-open'); btn.setAttribute('aria-expanded', 'true'); } }); });