Problem
Create a form that contains text inputs for the user's first name and last name. Add an email input for the user's email address. Add a select element that lists 5 school subjects and asks the user to choose their favorite subject. Make sure you have descriptive text before each input so that the user knows what they are supposed to enter or select for each input field.
Next, use JavaScript to validate each form input and print an alert message to the user for each field that fails validation.