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

Jennifer 220

@Jennifer1919

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


Hi! Here is my problem: When writing my JS for the project I wanted to use toogle to add and remove class to my element class list however it wouldn't work and I don't know why so I ended up using an "if" condition to make all of this work.

Another thing is that I wanted to use a forEach loop but I couldn't figure out how it work so if you have any ressources...

Community feedback

@danielchang2001

Posted

This video uses forEach https://www.youtube.com/watch?v=4qnWreynXLU

Marked as helpful

0

Jennifer 220

@Jennifer1919

Posted

@danielchang2001 thanks!

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