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

Responsive FAQ accordion with HTML, CSS and Javascript

@xXOsielXx

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?

This is the first time I build a FAQ accordion. In this project I learned how to made it and how to make the background image of an element responsive.

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

When I tapped on a question, the #faq-container moved a little to the left because scrolling was activated. I solved it just adding a "overflow-y: scroll" to body, there will always be a scroll bar and therefore there will be no annoying scrolling.

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