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 trialAnna Parker
Courses Plus Student 4,399 Pointsform tag
This is probably completely obvious, but... I'm doing a code challenge that says 'Add a form tag to your page.' I added:
<form></form>
Why isn't that correct?
Thanks!
<!DOCTYPE html>
<html>
<head>
<title>HTML Mastery Challenge</title>
</head>
<body>
<h1>HTML Mastery Challenge</h1>
<!-- Write your code below -->
<div>
<h2>Shopping List</h2>
<ol>
<li></li>
<li></li>
<li></li>
</ol>
<p><strong>BOLD</strong></p
<form></form>
</div>
</body>
</html>
5 Answers
Benjamin Larson
34,055 PointsYour form tags are correct, the problem was actually that your closing </p> tag is missing the last ">". This should've been picked up at the previous step but it passed for some reason.
Jonathan Hamada
4,810 PointsThose form tags look good, just need to close the p tag.
james south
Front End Web Development Techdegree Graduate 33,271 Pointsadd it outside of the div
Matthew Tran
16,343 PointsClose yoour </p> tag and add the form tag outside of the <div> tag.
Anna Parker
Courses Plus Student 4,399 PointsThanks! Carelessness strikes again...