For validation, I create a function that is executed when the form is submitted.
It will set the display of the error message to block if the input is invalid else it shows the success message
Marked as helpful
@nina1234567896
Posted
@WDWaleed Thankyou =) . Does an error message appear when you type in an invalid email on my project?
@nina1234567896 Yes, it does.