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 web page

@Ablazed-flame

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 challenges did you encounter, and how did you overcome them?

Challenge 1-:Overflow property was not working on mobile view when applied to body tag Solution: Made a wrapper and applied overflow property to it. As when meta is set to viewport the overflow does not works on body and html tag. Challenge 2 :- To set the expansion of div in only one direction Solution: Done using position absolute and top 30% left 50% translatex(-50%). Came to know that if we apply translatey also then it will expand in all direction. So avoid it.

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