Design comparison
SolutionDesign
Solution retrospective
So I had a lot of trouble with JavaScript once again.
I feel like I can shorten my code, but I can't seem to find a solution.
Could someone help me with the JS code?
I have a problem with targeting a specific question to change it's style. I tried using forEach, but it would target all of the questions.
Hover effects on the questions don't work twice.
Thanks for your help.
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