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

FAQ Accordion Card

@ivaberiashvili

Desktop design screenshot for the FAQ accordion card coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


I'd love to hear the method you used to make accordion work in JS. I think I made it fairly simple, but there will sure be better ways. Happy Coding!

Community feedback

@mmetwally0

Posted

Loved it! Great work!!

0

@ivaberiashvili

Posted

@mmetwally0 Thank you Monamed!

0

@ivaberiashvili

Posted

OK, I realized I needed to open the second answer-box by default. I did that and the page loads just like that. However the screenshot is still not correct. Does any of you have the idea why this might be happening? Is it something to do with timing (for example the screenshot is taken before the active is applied to the answer-box) or is there something else I can do about it? thank you.

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