faq accordion card using basic html&css with js

Solution retrospective
As I am rendering my questions and answers via javascript I notice that the hover effects stops working after the heading has been clicked. If anyone has any tips on why that is, I would love to get some feedback.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Arman001
Hi!
It is great work. If you want the hover effect on the question answer both then you can wrap them in a div and put hover effect on that. Otherwise on question it is working fine.
Regards
Saad
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