THE MOMENTUM SHORTS Your new favorite functional training shorts. Constructed from a soft, 4-way stretch fabric, these MOMENTUM shorts move and stretch with you. The lightweight and super-breathable fabric make these perfect for any summer activity or even a heavy leg day.
const accordionItems = [ { label: 'PRODUCT DETAILS', content: `4-way stretch fabric 5” side split for added mobility Built-in liner Branded water-resistant zipper secure zipper garage back pocket Elastic comfort waistband reflective paracord drawstring with silicon dipped ends Contrast athletic F logo on left side Main: 90% Polyester. 10% Elastane Rob wears XL ` }, ] const createAccordion = () => { let accordionContainer = document.querySelector('section#accordion') let accordionWrapper = document.createElement('div') accordionWrapper.classList.add('accordion-wrapper') accordionContainer.appendChild(accordionWrapper) accordionItems.forEach((item) => { let accordionItem = document.createElement('div') accordionItem.classList.add('accordion-item') accordionItem.innerHTML = ` ${item.label}
` accordionWrapper.appendChild(accordionItem) }) } const toggleAccordion = (el) => { const accordionItem = el.parentElement accordionItem.classList.contains('is-open') ? accordionItem.classList.remove('is-open') : accordionItem.classList.add('is-open') } createAccordion()