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

Patryk Szady
Patryk Szady
3,434 Points

I'm stuck on a challenge " Try adding a table heading"

Preview looks good, the th 's are there. It will not pass me. What am I missing here?

<table>
   <tr>
     <th>Month</th>
     <th>Savings</th>
   </tr>
   <tr>
     <td>January</td>
     <td>$100</td>
   </tr>
</table>

Here's a link to the challenge http://teamtreehouse.com/library/html/tables/html-tables

2 Answers

Clinton Baker
Clinton Baker
9,344 Points

It wants you to add a heading for the table itself. Try using a

<thead>

tag.

Try to add the thead tag under the table tag then closing it before the closing table tag

Like this.

<table>
<thead>
<tr>
<th></th>
</tr>
<tr>
<td></td>
<td></td>
</tr>
</thead>
</table>

I hope this helps!

Kind regards. // Erdrag