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
Mike Davison
3,479 PointsProblems With HTML Tables Code Challenge!
Hi all,
What is wrong with my code below? I cannot pass 7/8 on the code challenge for HTML Deep Dive / Lists: http://teamtreehouse.com/library/html/tables/html-tables. It says 'Bummer! Try adding a table cell with text in it to your table body's row.'....
<table>
<tr>
<thead>
<tr>
<th>Example 1</th>
<th>Example 2</th>
</tr>
</thead>
<tr>
<tbody>
<tr>
<td>January</td>
<td>February</td>
</tr>
</tbody>
</tr>
</table>
4 Answers
John Kotz
8,591 PointsIt looks correct to me. I was able to submit your code and pass the task.
Mike Davison
3,479 PointsFails in Both Chrome and Safari for me....cleared cache, too....it fails on Step 7 but works up until then?
Jeff Busch
19,287 PointsHi Mike,
Look at the closing table row tags in the table body.
Jeff
<table>
<tr> <-------HERE
<thead>
<tr>
<th>Example 1</th>
<th>Example 2</th>
</tr>
</thead>
<tr> <-------HERE
<tbody>
<tr>
<td>January</td>
<td>February</td>
</tr>
</tbody>
</tr> <---------AND HERE
</table>```
Mike Davison
3,479 PointsThank you :) Seems you don't need <.t.r.> around your <.t.head.> and <.t.body>, just inside them.
Much appreciated!