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

i guess there is a bug in "How to make a website" challange task 6 of 6 th section.

Bummer! A section element needs to appear between the <body> and </body> tags.

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>aa</title>
    <meta charset="utf-8">
  </head>
  <body>
    <header>aaa</header>
    <footer>aaa</footer>
  </body>
</html>

2 Answers

Julian Gutierrez
Julian Gutierrez
19,201 Points

No bug, you don't have section tags in your code.

Hi Julian, saw your answer and maybe you could help.... I've ran in to the same kind of problem but the error code I get is "A section element needs to appear between the <body> and </body> tags."...It seems quite strange since in my view the code is fine, you'll find the code right bellow my this line :

<!DOCTYPE html>
<html>
  <head>
  <meta charset="utf-8">  
  <title>salsa philip designer</title>
  </head>
  <body>
   <header>
    <h1>Philip Ollas</h1>
   </header> 
   <footer>
     <p>&copy;2017 Philip Ollas.</p>
   </footer>
  </body> 
</html>

What would you suggest I do differently?

Julian Gutierrez
Julian Gutierrez
19,201 Points

Same as above, you are missing a set of section tags.

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

Thank you, kind of you to provide the answer.