Design comparison
Solution retrospective
Hey,
Firstly, I would mention that I added floating labels on form fields which were not in the designs. And, I want to know if I did the form validation correctly. Also, if you have any suggestions to make my code better please let me know.
Community feedback
- @ManuelFernandezEstebanPosted over 2 years ago
Your solution looks very good but it is recommended to use let instead of var otherwise very good.
1@purnimakumarrPosted over 2 years agoThanks for the suggestion, Manuel. I'm a beginner in JS so I don't know alot about the best pratices yet. I would definitely learn about the difference between let and var and make the required changes.
0@ManuelFernandezEstebanPosted over 2 years ago@purnimakumarr the difference is the scope in which the variable is declared, var is global and let is for the code block where you declare it
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