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 trialjuliechao
Full Stack JavaScript Techdegree Student 1,787 Points<!doctype html> <html> <head> <body> </body> </head> </html>
why is the system keep giving me an error message? I cann't proceed with the lesson. It's so annoying.
<!doctype html>
<html>
<head>
<body>
</body>
</head>
</html>
3 Answers
Christopher De Lette
Courses Plus Student 7,139 PointsHi Julie,
The basic structure of your HTML template is bit out of sequence. The body and head closing tags need to be adjusted. Template starts with doctype as you have it, then opening and closing head tags, followed by opening and closing body tags. The last closing tag should be the HTML tag. Hope this helps.
Take care and happy coding! ?
Robin Orellana
11,626 Pointsyour body tags should be outside your <head></head> tags not inside like this
<!doctype html>
<html>
<head>
</head>
<body>
</body>
</html>
Robin Orellana
11,626 Pointsremember that the body tags is what holds the visual content of your site