So somewhere down the line, every web developer needs to do form validation, so you've got a form
you need to validate the input field, such as if it's an email, if it's a number, and also if the
TextField has been actually filled out and this can be done with JavaScript.
And I know each HTML5 has a really good part that's been added to it that's going to allow you to add
this to the input fields so it doesn't hurt to have JavaScript doing the same thing as well.
And of course, with JavaScript, you can style it and make a look a whole lot better.
So let me show you.
So this particular form is going to listen for the click and it's going to test to see if these values
are proper in the fields.
So it's looking for a valid email address.
It's also looking for a password that needs to be a certain number of characters and then also a username.
So as long as you fill those out and you filled it out properly, then at that point you can submit
the form.
It's going to be using regex in order to pattern match to make sure that we do have the right field
input.