Flavio Iannone• 30
@Flavio3106
Posted
If you try to submit with an invalid email multiple times the "invalid email" element pops up as many times as you clicked the button, that's because you create a p element every time an invalid email is entered, try making the p disappear instead removing and creating it every time. Also, you should redirect the user to a page that says "thanks for submitting", you redirect to nothing.
0