HTML HTML Forms Choosing Options Create a Select Menu

Jeff Jones
Jeff Jones
1,546 Points

Button Tag

I'm having trouble with the last step on one of my quizzes. It's asking me to put a button tag at the end. When I do try to code in the element <button type="submit">text</button> nothing highlights in anything but the one color and my quiz won't accept my answer.

Do you have any idea why the test doesn't highlight neither my element nor its attribute and if that has anything to do with why the test isn't accepting my answer?


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

    <form action="index.html" method="post">
      <h1>Shirt Order Form</h1>
      <label for="color">Shirt 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="green">Green</option>
        <option value="orange">Orange<"</option>
          <button type="submit">Place Order</button>


2 Answers

54,335 Points

I have seen this happen a few times before with others with this challenge. You need a closing select tag after the last option prior to your button. You should also fix this line:

<option value="orange">Orange<"</option>

should be:

<option value="orange">Orange</option>
Jeff Jones
Jeff Jones
1,546 Points

Awesome! I appreciate it.