@udayaguptaSubmitted 9 months ago
1 - How do I make the form validation in JS much better ?
1 - How do I make the form validation in JS much better ?
Hey there @udayagupta, Congratulation for completing this project design π
I've seen you've asked for how to make the form validation in it, There are few things which is missing in your code :-
You've to use preventdefault() method in it so that you can stop the form to be get submitted
You need to use regx expression for email validation ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$
Or you can see my submission for reference hope it helps you.π
Happy Coding! π«‘
Feedbacks are welcome.π
Happy Coding!π«‘
Thank you, for taking your time to review my code.!π
Yeah I do noticed it now I'll soon implement it.π