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 trial

HTML How to Make a Website HTML First Use HTML Elements

I don't understand this question. Help?

I can't figure this out!

index.html
<!DOCTYPE html>
<html>
  <body>

</html>

Looks like its missing a closing

</body>

3 Answers

This is the complete answer for all 6 steps of the challenge Please go through this code and try to figure out where u are stuck at <blockquotes>

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title></title>
</head>
<body>
  <header></header>
  <section></section>
  <footer></footer>
</body>
</html>

</blockquotes> Hope you can figure things out..please mark my answer as the best if i helped u

You didn't close the body tag.

You have it right. You may just need to close out your <body> tag.

in HTML code, you ALMOST always need a closing tag ( </something> . That is <foo> should always be closed with </foo>. So you have an opening <body> but are missing the closing tag </body>. But note how you already have <html> and </html>. The <body> is IN BETWEEN (we say it is nested inside) the <html> and </html> tags. This means your closing </body> tag needs to go in between the <html> </html> too.

NOte: there are a few tags that don't have a </> closing tag. For example: link and image tags. But when in doubt, add a closing </> tag!

Thank you!