dropdown FAQ accordion using HTML, CSS and JS, with DOM manipulation

Solution retrospective
I’m proud of how the responsive design works in this project, and the only thing that i would do differently next time, is the logic in JS, and not repeat that much code.
What challenges did you encounter, and how did you overcome them?One thing that was kinda tricky it was the background images and how to resize them when i change the size of the screen.
What specific areas of your project would you like help with?I need help with the keyboard navigation and to reduce my code in JS, because i know i’m not aplying the DRY (Don’t repeat yourself) principle.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Santiago'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