Design comparison
SolutionDesign
Solution retrospective
Is there a more efficient implementation for the javascript?
This feels repetitive and lengthy.
Community feedback
- @Anass-LamiriPosted 9 months ago
Hi, you did a great job in implementing this project, the frustration you have I also have it, I don't know about an efficient way but I recommend you to read my code solution for this problem, it doesn't solve your problem but it reduces the amount of code you write, here is the GitHub link: Github.
also, you forgot to add a cursor pointer to your button.
I hope you find this feedback helpful.
Marked as helpful0@p-tamPosted 9 months ago@Anass-Lamiri Ahh that's exactly what I was after. Adding one class to the parent element is much cleaner.
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