@Ludzikk
Posted
Hello, im not good at giving advice, but i'll try my best. So to validate email you will have to check if email in input is correct on click on button. So if it's correct after checking regex.
Function you are trying to run on dismiss button named: dismissMessage() is not defined.
To close popup msg, simply remove "hide" class from your submit form and add "hide" class to popup msg.
If you need more help msg me on discord it's linked on my github.
Marked as helpful