Design comparison
SolutionDesign
Solution retrospective
I'll appreciate every advice, especially concern JS(how can i shorten code ) Thanks
Community feedback
- @palgrammingPosted over 3 years ago
first I would put your JS in a separate file and link it in the HTML also this might help https://daily-dev-tips.com/posts/vanilla-javascript-event-listener-on-multiple-elements/
Marked as helpful0
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