Design comparison
Solution retrospective
My new Solution! any inputs?
Community feedback
- @DavidMorgadePosted about 2 years ago
Hello Antony, great job finishing the challenge, congratulations!
First of all I need to say that I like a lot your improvised top warning!
I did dig into your JS files to see how you managed the logic, try to not use
var
, but really, never usevar
is really outdated and can cause some buggy problems cause of their scope behaviour, if you need a variable that will change in the future, uselet
, if you need an unmutable variable, useconst
(they can be changed but you can't re-assign them a value!).Apart from that little tweak on your JS, it seems that the rest is fine and working correctly!
Hope my feedback helps you! good job!
Marked as helpful2
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