Hey @BhargaviSheth, even though you didn’t provide any link to the project, I will show you how you can add validation errors.
For the email input validation error, put the type attribute of the email input to email and the browser will automatically show a validation error if anyone entered an invalid email. Take a look into the link @lasjorg gave.
For the number field, you need to put the number input field’s type value to number. Then, you can add a min attribute and max attribute and enter your preferred minimum and maximum values in it. Now, if someone enters an invalid number, the browser will show a validation error.
In the future, if you don’t understand how to do things like this, you can look into the code of the example project freeCodeCamp gives and see how they did it. Also, googling is a great point when you’re stuck.