Skip to content
  • Unlock Pro
  • Log in with GitHub
Profile
OverviewSolutions
2
Comments
1
Ben
@Gudelis

All comments

  • Guilherme Fernandes Vidotti•520
    @Vidottizzz
    Submitted over 1 year ago

    FAQ accordion with HTML, CSS, Javascript

    3
    Ben•20
    @Gudelis
    Posted over 1 year ago

    Hi,

    Just did this project also, you can check my solution to have one question open at a time. https://www.frontendmentor.io/solutions/faq-accordion-psETbWsVvf

    Shortly, I created function to check if clicked question is equal to already opened question, if not it, hides it and shows new one.

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

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