FAQ-accordion (Vanilla JS)

Solution retrospective
Be able to resolve the overflow on Y so that the parent element looks well positioned.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @LeviKuhaulua
Heyo, not really feedback, but I love how you used your styles with an active class that then changes the img and p elements from
display: none
todisplay: block
when an item is clicked. This is something that I'll definitely take inspiration from for future challenges.
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