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 trialVeronika Weber
1,665 Points<html> is the HTML Document route but says its incorrect in the challenge?
<html> is the HTML Document route but says its incorrect in the challenge?
<!DOCTYPE html>
<html>
3 Answers
tobiaskrause
9,160 PointsYou need the closing
</html>
tag.
Jennifer Nordell
Treehouse TeacherTobias is correct. You're missing the closing tag. The entire code should be:
<!DOCTYPE html>
<html>
</html>
Jennifer Nordell
Treehouse TeacherThis is the full code for step 2 which asks for the "root" html tag.
Veronika Weber
1,665 PointsThanks I just made it past that one. Now stuck on the next challenge where first they pass me on task 2 but when i answer task 3 they say that task 2 is no longer passing. not having a good day :-(\
<h2>Designer</h2>
</a>
<nav>
<ul>
<li><a href="index.html">Portfolio</a><li>
<li><a href="about.html">About</a><li>
<li><a href="contact.html">Contact</a></li>
</ul>
<nav/>
tobiaskrause
9,160 PointsWhat is the name of that challange? Or can you link it?
Veronika Weber
1,665 PointsVeronika Weber
1,665 PointsThanks Tobiaws but I have that at the bottom of my workspace already
tobiaskrause
9,160 Pointstobiaskrause
9,160 PointsWhich is your current Task number? The code you posted is not rly helping (and is wrong since you have no closing html element) DOCTYPE html is not an opening html element. Dont forget to close tags that need closing tags.
This is the code for the full challange...