Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialNicole Medley
Courses Plus Student 5,857 PointsWhy do I keep getting an error message that task #2 is no longer passing when I put in the code for task#3.
http://teamtreehouse.com/library/html-forms/choosing-options/create-a-select-menu
In the above challenge, I put in the code <optgroup label="Shirt Color"> with the closing end at the end of the option codes and I keep getting the message that Task#2 is no longer passing. I don't understand what is going on!
2 Answers
Armando Barajas
7,766 PointsHere is what it should look like. Hope this helps!
<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="blue">blue</option>
<option value="green">green</option>
<option value="orange">orange</option>
</select>
</form>
Nicole Medley
Courses Plus Student 5,857 Pointsthanks Armando, I figured out what I was doing wrong!
Justin Iezzi
18,199 PointsJustin Iezzi
18,199 PointsBe sure to copy and paste your code here so we can see what may be the problem. Check out the markdown cheatsheet on how to format the code as well.