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 trialEdward Harding
104 Pointshi i am stuck on the web design track and on the second stage of how to make a website, error, define html doc root.
hi i am stuck on the web design track and on the second stage of how to make a website and it keeps on saying "make sure you define html root" I have put the </example> at the end of every <example> but it keeps on repeating this, IT IS VERY FRUSTRATING.
<!DOCTYPE html>
<hml>
<head>
<meta charset="utf-8">
<title>do click -></title>
</head>
<body>
<header>
<h1>hello bodil and melon head</h1>
<h2>troll</h2>
</header>
<section>
<p>simon dont rage</p>
</section>
<footer>
<p>© 2069 the year of bodil40</p>
</footer>
</body>
</hml>
3 Answers
hum4n01d
25,493 PointsTry this code:
<!DOCTYPE html>
<html>
<head>
<title>This should work</title>
<meta charset="utf-8">
</head>
<body>
<header>
</header>
<section>
</section>
<footer>
</footer>
</body>
</html>
I think that you just added a bunch of extra things and because of that, if there was a syntax error with your extra code, the code challenge engine would reject the whole document.
Joe Timmons
4,331 PointsHi Edward, It looks like your html tags are missing a letter. Change hml to html in both opening and closing tags.
hum4n01d
25,493 Pointsright
Thomas Rhodes
8,246 PointsNoticed in your answer it has hml at the top and bottom. For it to pass you would need html Hope this helps
hum4n01d
25,493 Pointshum4n01d
25,493 PointsAlso your html tags are written as
<hml></hml>
instead of
<html></html>