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
Desktop design screenshot for the FAQ accordion coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Community feedback

@soymze

Posted

Well, I think user should be able to open multiple questions at the same time.But when he does that, the height of the card may not be enough for all expanded questions.I used max-height: max-content to overcome this problem.So if questions are expanding, card expands also.So you are being able to expand all questions. The other thing, you should be able to shrink the question by clicking the minus, but that functionality is not working. By the way expand animation(plus to minus) looks awesome, how did you do it?

0

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