In this JavaScript Tutorial, we will create a simple HTML form with three text fields in it. Then we will handle the form level events onsubmit and onreset. These events are fired when the user clicks the submit or reset button in the form.