Design comparison
Solution retrospective
I feel my JavaScript code is too long
Community feedback
- @pilatechPosted over 2 years ago
Hey. I am new on the platform and have also just completed this very challenge. You may have a look at how I did it, maybe we can borrow one or two insights from one another.
On the the long js you mentioned, I think the issue is that there is repetition of almost similar functionality. I would consider combining functions that differ a little bit into one function and then make use of loops. Btw, I solved the tooltip part using the regular old css
:hover
:)I am still reading your code and trying to keep on learning from you. I would share with you any suggestion and I would also appreciate your respected feedback regarding my code.
Cheers :)
2
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