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 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.