Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Intro Component With Sign Up Form

@purnimakumarr

Desktop design screenshot for the Intro component with sign-up form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

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

@ManuelFernandezEsteban

Posted

Your solution looks very good but it is recommended to use let instead of var otherwise very good.

1

@purnimakumarr

Posted

Thanks 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

@ManuelFernandezEsteban

Posted

@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 GitHub
Discord logo

Join 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