FAQ Accordion using Tailwind CSS

Solution retrospective
The requirement said "Navigate the questions and hide/show answers using keyboard navigation alone". I am not sure how to do that. But you can navigate and show/hide using tab, shift+tab, space in my current submit.
I have problem of "responsiveness" when click the header to hide and show answere of first and second item. Sometime when i hover and click the second item, the first item is open instead the second. I dont understand why it happened. Pleace advice...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on reqayasa's solution.
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