Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Well done!

You have completed (UPI) Chapter 10: Utilizing Forms with JavaScript!

Instruction

Full Example

Here is a full example to show usage of HTML's built-in validation features. First, some HTML:

<form>
  <fieldset>
    <legend>
      Do you have a driver's license?
      <span aria-label="required">*</span>
    </legend>
    <input type="radio" required name="driver" id="r1" value="yes" />
  <label for="r1">Yes</label>
    <input type="radio" required name="driver" id="r2"...