HTML HTML Forms Choosing Options Create a Select Menu

Christian Beckett
Christian Beckett
4,681 Points

what did I do wrong with the button?

i think I messed up the button process but i don't know how can someone please help?

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

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

      <h1>Shirt Order Form</h1>
      <label for="color">color:</label>
      <select id="color" name="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>
     <button type="submit" text="place order">


3 Answers

Jan Oberreiter
Jan Oberreiter
69,562 Points

your code should look like this:

<h1>Shirt Order Form</h1>
<select id="color" name="shirt_color"></select>
Luis Munguia Salas
Luis Munguia Salas
14,797 Points

button element is not a empty tag

it needs a opening tag and closing tag.