Submitted over 2 years agoA solution to the FAQ accordion challenge
FAQ Accordion javaScript, HTML, CSS. First Submission.
LVL 1
@patmcibass

Solution retrospective
This is my first submission. I struggled figuring out how to get the keyboard navigation functionality, but think I got it working correctly. I wanted to try and put the question divs into an array, to iterate through them and match with which one was clicked and call a function referencing that div, but I couldn't figure it out, so i wrote a function for each div.
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on patmcibass’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