Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Submitted 8 months ago

FAQ accordion html/css/js solution

hyperavtr•150
@hyperavtr
Preview site (opens in new tab)View code (opens in new tab)
Desktop design screenshot for the FAQ accordion coding challenge
This is a solution for...FAQ accordion
  • 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?
  • For first time ever using js in practice.
  • Next time, hopefully, I'll try to make better decisions and make things faster.
What challenges did you encounter, and how did you overcome them?
  • Made text smaller than browser allowed me to with font-size via transform: scale(). This has been a problem for most of my challenges, but I haven't done anything to solve it, but here I am.

  • Some struggle with js took place, but I overcame just by thinking more time than I should have for the solution.

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

Animation from display: block; to display:none; that would work in every browser. (My works neither.)

Community feedback

Please log in to post a comment

Log in with GitHub

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

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub