FAQ Accordion with Semantic HTML and Vanilla JavaScript

Solution retrospective
I am most proud of my use of JavaScript for the accordion functionality. I was able to get the plus and minus icons to toggle correctly and use the ARIA attributes for aria-expanded and aria-control.
What challenges did you encounter, and how did you overcome them?A challenge of mine was getting the footer to stick to the bottom of the page. I realized that I had been adding a vertical margin to FAQ rather than setting it to auto.
What specific areas of your project would you like help with?I would like to continue using more efficient and effective CSS and JavaScript methods.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Jennifer Phan'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