JavaScript Challenge: Validating Email Addresses

Not sure if this is applicable to your scenario, but if you’re validating user input, you can use type="email" and make this the browser’s problem.

2 Likes