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

Defining the HTML Structure and (Some) Semantics

Now that the control's basic functionality has been decided upon, it's time to start building it. The first step is to define its HTML structure and give it some basic semantics. Here is what we need to rebuild a <select> element:

<!-- This is our main container for our control
  The tabindex attribute is what allows the user to focus on the control.
  We'll see later that it's ...