@Regis066Submitted 10 months ago
Please leave a star to my repo if possible.
Please leave a star to my repo if possible.
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.