HTML HTML Forms Choosing Options Create a Select Menu

Maria H
Maria H
6,737 Points

You don't seem to have any <option> elements within the <select> element. Repeat error code, not sure what is missing.

Thanks for reading, not sure what I have done wrong!

<!DOCTYPE html>
    <meta charset="utf-8">
    <title>HTML Forms</title>

    <form action="index.html" method="post">

      <h1>Shirt Order Form</h1>
  <label for="Shirt color">shirt color</label>    
  <select id="color" name="shirt_color">
      <optgroup label="shirt color">
       <option value="red">red</option>
       <option value="yellow">yellow</option>
       <option value="purple">purple</option>
       <option value="blue">blue</option>
       <option value="green">green</option>
       <option value="orange">orange</option></optgroup>


1 Answer

Brendan Whiting
Brendan Whiting
Front End Web Development Techdegree Graduate 84,616 Points

For this challenge, it seems like they need you to put the <option> tags alone without using an </optgroup>.