Responsive FAQ accordion without JS

Solution retrospective
Being able to complete the challenge
What challenges did you encounter, and how did you overcome them?My challenge was to ensure that only one accordion panel was open at a time, all without relying on JavaScript, while maintaining accessibility.
In the end, I faced a choice: make the feature work, but it would be a bit of a headache from an accessibility standpoint, or prioritize accessibility and allow all accordion panels to be open at once.
I opted for the latter since it's an FAQ, and having all panels open at once isn't a big issue. Plus, the challenge didn’t specify anything about this aspect.
What specific areas of your project would you like help with?I'm open to all suggestions. Thank you for taking the time :))
Please log in to post a comment
Log in with GitHubCommunity feedback
- @JoacoDv
good
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