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 using HTML, CSS, and Javascript

@AzpenMeadows

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?

I recreated the "open/close" svg with css and animated them. This is satisfying to me for some reason.

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

I struggled more than I would like to admit with flexbox. The "open/close" graphic I recreated with a div and some css kept getting squished on smaller screens. I added flex-shrink: 0; to overcome this issue

What specific areas of your project would you like help with?

Just notes on best practices for writing cleaner code might be nice. I know my Javascript isn't the best, but I am still new at 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