Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted about 3 years ago

Responsive FAQ Accordion Card - JavaScript and SASS

gulp, sass/scss, node
Roonder•130
@Roonder
A solution to the FAQ accordion card challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This was a really nice project. I had a bad, but great time, positioning the illustrations in the beggining, but after understanding a little bit of it, I found it better to handle. Even though, I will accept any suggestions or comment about it!

About setting the container card, I think it could improve a little bit, by not growing that much by showing up the info from the questions. Or, to add a transition to the info showing, but using "display: none" doesn't allows me to add animations to it.

Also, I tried to do my JavaScript code as simple as would be, but if it's possible to improve, let me know!

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Roonder's solution.

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

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