
Design comparison
SolutionDesign
Solution retrospective
I can't figure out how to get the arrows to rotate upside down when the accordion is open. I think I have to store them in a variable in JS and then toggle the class when the button is clicked but I couldn't figure out how.
I would really appreciate any feedback on this question and the overall code in general.
Thanks!
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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