THE FOREVER SHERPA JACKET We took our beloved Forever Flannel, lined it with sherpa fabric for insulation, and added a hood to keep you cozy in cooler temperatures. Its rugged woven fabric is built to withstand daily wear and tear, gaining character with each use.
const accordionItems = [ { label: 'PRODUCT DETAILS', content: ` Ultra-soft flannel shell Sherpa lined throughout Flag Nor Fail Snap button closure Attached hood Dipped drawstrings 2 front pockets Relaxed fit Left chest pocket and Flag Nor Fail trim `, }, { label: 'SPECIFICATIONS', content: `Material: Outer Shell: 65% Polyester / 35% Cotton; Lining: 100% PolyesterGraphics: Left chest pocket and Flag Nor Fail trimFit: Relaxed. NOTE: Insulation adds padding, if you plan on layering this item, we recommend sizing up Sizes: Unisex. Available in a range of sizes for all body types `, }, ] 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()