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

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>