Project Challenge
FAQ Accordion
Build a one-open-at-a-time FAQ accordion that returns stable accessibility state and preview markup.
This Challenge
DOM Apps
Challenge brief
Support needs a FAQ accordion where one answer stays open at a time and the UI exposes clear expanded state.
Return a snapshot that tells the renderer which panel is open and what markup should be mounted for the list.
Project Workspace
Build the challenge in one focused editor
Use the starter code, run the checks, and compare your structure with the solution notes only after you have attempted the project yourself.
Build the challenge in JavaScript or TypeScript, then run the current workspace checks against the compiled output.
Opening the promises item should expose its answer and expanded state.
Inspect the project solution like a senior reviewer would, with correctness, structure, and maintainability feedback.