I write about front-end web development. I'm inspired by Nathan Barry's motto,
teach everything you know. I also take a lot of inspiration from my friend and mentor, Chris Ferdinandi.
Search my blog
In HTML5, you can use built-in form validation to check an email address. This works by setting the
type="email" attribute on an
input element. You might need to check an email address programatically, though, so here are a few ways you can do that in vanilla JS.