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

table body tags

Now add a table body tag to your table. Oops! It looks like Task 1 is no longer passing. Get Help Recheck work Go to task One index.html

1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>HTML Tables Challenge</title> 5 </head> 6 <body> 7 <h1>HTML Tables Challenge</h1> 8 ​ 9 <table> 10 11 11 <thead> 12 13 <tbody> 13 <tr> 14 14 15 <th>Oranges</th><th>Apples</th> 16 1 17 </tr> 18 17 19 </tbody>
20 18 21 </thead> 22 19 23 </table> 24 20 25 • 26 21 27 </body> 28 </html> 29 ​ What am i doing incorrectly? Thanks

1 Answer

Make sure to include check the 'include my code' option when submitting a question, that way we can see your code and the challenge to test it. Here is what I could make up for this code, take a look and compare it to what you have:

<!DOCTYPE html> 
<html> 
<head> 
<title>HTML Tables Challenge</title> 
</head> 
<body> 
<h1>HTML Tables Challenge</h1> 

<table> 
  <thead> 
      <tr> 
        <th>Oranges</th>
        <th>Apples</th> 
      </tr> 
  </thead> 

  <tbody>
    <tr>
        <td></td>
                <td></td>
    </tr>
  </tbody>

</table> 

</body> 
</html>

I hope this helps, cheers.

Thanks Martin - worked like a charm.

Miriam