Submitted 8 months agoA solution to the FAQ accordion challenge
Responsive FAQ accordion
sass/scss
@AlfonsoVidrio

Solution retrospective
What are you most proud of, and what would you do differently next time?
For this project, I'm most proud of how I was able to implement the accordion functionality using HTML, CSS (SASS), and JavaScript while ensuring the design was responsive.
What challenges did you encounter, and how did you overcome them?At first, I struggled with dynamically hiding and showing content. I overcame this by learning to use classList.toggle() to manage visibility and aria-expanded for accessibility.
Any feedback or suggestions are welcome.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Alfonso Manuel Vidrio Lizaola'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