@itush
Posted
Congratulations on completing the challenge! ๐
-
In my solution for this challenge I first linked the error-icon for every input field and then toggle the opacity using JS.
-
To validate correct format of email you may use JS client-side-validation using RegExp. Here is an example:
function validateEmail(email)
{
if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(email.value))
{
return (true)
}
alert("You have entered an invalid email address!")
return (false)
}
You may checkout my project code here
I hope this helps. And I look forward to see cool projects from you in the future๐
Keep at it...๐ป Happy hacking!