Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML How to Make a Website HTML First Use HTML Elements

Bryan Butler
Bryan Butler
1,586 Points

Challenge 6 of 6 in the how to make a website course. The header is in the body tag, but it's not letting it go through.

Challenge 6 of 6 in the how to make a website course. The header is in the body tag, but it's not letting it go through.

index.html
<!DOCTYPE HTML>
  <html>
    <head>
    <meta charset="utf-8">
      <title></title>
    </head>
    <body>
      <h1>  </h1>
      <section></section>
      <footer><footer> 
        </body>

  </html>
Tushar Singh
Tushar Singh
Courses Plus Student 8,692 Points
<!DOCTYPE html>
<html>

  <head>
    <meta charset="utf-8">
    <title></title>
  </head>

  <body>
    <header></header>  <!-- use header not h1 -->
    <section></section>
     <footer></footer>  <!-- close the footer tag </footer> -->
  </body>

</html>

You din't include the header

Close the footer tag

1 Answer

You didn't add the header element, and you didn't close the footer element correctly:

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

  </html>