@yagnik0
Posted
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! 🫡
Marked as helpful
@udayagupta
Posted
@yagnik0 Thank you for your reply!
I will try to make the necessary changes and if further I need help I will refer to your solution. 😁