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

HTML tables challenge problem

Hi! I was doing Tables code challenge today (https://teamtreehouse.com/library/html/tables/html-tables), and on task Nr. 2, it says this http://gyazo.com/d45045b5c9b7b50b981fdf1a28cd52f3 , but i believe, that the TH tag is in the table.

Thanks

2 Answers

Eric Martz
Eric Martz
16,007 Points

David,

In this challenge, they are looking for the use of the thead tag.

<table>
   <thead>
   </thead>
</table>

Also, th tags should be wrapped in a table row tag tr.

<table>
   <tr>
      <th>My Heading</th>
   </tr>
</table>

Hopefully the markup works correctly. It's my first time trying to add code to a comment. Hope this helps.

Eric

Oh, thanks for your answer :) I was trying wrapping it in <tr> also, but it didn´t work.