Build an Accordion
Build an accordion from the provided SECTIONS data. The starter renders every section expanded — make each one toggle on its own.
Requirements
- Clicking a section's title expands or collapses that section.
- Sections toggle independently: any number can be open at once.
- All sections start collapsed.
- Keep
aria-expandedon each title button in sync (the chevron flips off it).
Follow-up
How would you change the model so only one section can be open at a time — and which of the two models would you ship as a reusable component's default?