Problem
1. What are the advantages of assigning event handlers to event properties?
2. Why is it good to use JavaScript to check the validity of form inputs before the form data is sent to the server?
3. What three things should be done when a form input element is found to have incorrectly formatted data?
4. What happens when an event handler for the on submit event returns false?