Submitted almost 4 years agoA solution to the FAQ accordion card challenge
FAQ Accordion Card
@Jennifer1919

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...
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Jennifer'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