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

FAQs_ accordion solution using HTML, CSS, and JavaScript

Ochuba Judith•10
@Judith-20
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?

Being able to implement the code that displayed the headers paragraph using the mouse and the keys.

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

Writing the code to toggle the icons and the header with both the mouse and keyboard to display the paragraph was really challenging. I went through different materials and websites such as w3school, mdn and freecodecamp before i was able to come up with something but surprisingly it worked.

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

I would really like help with other ways i can resolve the challenges i had which is how to navigate the questions and hide/show answers using keyboard navigation and when the question or icon is clicked.

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 Ochuba Judith'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

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

Frontend Mentor

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

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