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 trialBeau Delfosse
9,135 PointsWhat is wrong in my option elements ?
I really dont see it, pls help me
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML Forms</title>
</head>
<body>
<form action="index.html" method="post">
<h1>Shirt Order Form</h1>
<select id="color" name="shirt_color">
<option>red</option>
<option>yellow</option>
<option>purple</option>
<option>blue</option>
<option>green</option>
<option>orange</option>
</select>
</form>
</body>
</html>
1 Answer
mikes02
Courses Plus Student 16,968 PointsHi Beau,
You're actually on the right track, your option element is missing the value attribute, though. I will show you one to help you get on the right track, from there you should be able to knock out the rest:
<option value="red">Red</option>