Design comparison
SolutionDesign
Solution retrospective
Hi there 👋This is my solution for this challenge.
I will be very happy if you have any suggestions to improve my solution.
Thanks 😊
Community feedback
- @DXXDLYPosted over 1 year ago
Hello! Great solution
Here are my corrections
1.Use const on variables that don't change, in your case instead of let. 2.Use event.target.closest(".crew") to find the fastest graphic element with class "crew", instead of checking if event.target.classList has class "crew".
1
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