Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

FAQ Accordion

react
Peter Bachman•200
@PeterBachman100
A solution to the FAQ accordion challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


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

I am most proud that I built it in React and feel that I created a decent separation of concerns and modularity. Next time I might consider sketching out the structure beforehand.

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

When I ran the build process the resulting page was completely blank, so I asked ChatGPT what the common errors were, and fixed a capitalization error in the homepage url.

Another challenge was that the images I was trying to use weren't loading, even though the relative file path was correct. I learned that it is necessary to import them at the top of the jsx files.

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

Deciding which HTML elements to use to represent the FAQs section for the most accurate semantics and accessibility.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Peter Bachman'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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License