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 trialmatteo boni
5,087 Pointssubmit button
Add a submit button with the text "Place Order".
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HTML Forms</title>
</head>
<body>
<form action="index.html" method="post">
<h1>shirt order from</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="blue">blue</option>
<option value="green">green</option>
<button type="submit">place order</button>
</form>
</body>
</html>
2 Answers
anil rahman
7,786 PointsYou are missing a closing tag
</select>
anil rahman
7,786 PointsSorry i did add the select tag to tell you but it got removed from my earlier comment :P
Kristopher Van Sant
Courses Plus Student 18,830 PointsAhh I see it! I added three back-ticks ``` before and after the code so that it will show up. Anytime you add a code snippet, no matter how small, be sure to surround it in the back-ticks otherwise it won't show up properly. Checkout the markdown cheatsheet for a refresher if needed. You can also preview your comment to make sure it's displaying how you want before you post the comment. :)
matteo boni
5,087 Pointsmatteo boni
5,087 Pointswhat is anil ?
Many thanks
Kristopher Van Sant
Courses Plus Student 18,830 PointsKristopher Van Sant
Courses Plus Student 18,830 PointsAnil is correct. They mean the closing select tag to be more specific.
</select>