Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

FAQ accordion (HTML | CSS | TypeScript | React)

@OniOdd

Desktop design screenshot for the FAQ accordion coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

What are you most proud of, and what would you do differently next time?

I placed the questions and answers in a separate data.json file, and then used the .map() method to dynamically display/hide them.

What challenges did you encounter, and how did you overcome them?

What challenges did you encounter, and how did you overcome them?

Well, you know, it was hard to choose CSS styles by eye 😅

What specific areas of your project would you like help with?

What specific areas of your project would you like help with?

The task included the following item:

  • Navigate the questions and hide/show answers using keyboard navigation alone.

I'm not sure if I understood everything correctly, but I implemented it in some way.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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