Design comparison
SolutionDesign
Solution retrospective
Hi, everyone. ¿Is there a better way to use JS in forms? I feel like my code is a little messy.
Community feedback
- @Nova988Posted almost 3 years ago
Hello,
In 2022 you should try to avoid using var. Instead of var use let and const.
Here you can read why you shouldn't use it : https://medium.com/@codingsam/awesome-javascript-no-more-var-working-title-999428999994.
Hope it helps.
0
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