Responsive FAQs Accordion

Please log in to post a comment
Log in with GitHubCommunity feedback
- @kirlosbasta
Congratulations on your solution; it closely aligns with the design!
I wanted to make a quick note about the main component: it currently stretches with the viewport width, which may not be ideal for larger screens. To address this, you could specify a max-width.
One key feature of this project is enabling complete navigation of the accordion using only the keyboard. To enhance accessibility and use more semantic HTML, consider using button elements instead of section elements in the accordion components.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord