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 HTML Tables

Challenge task issue

I'm trying to get through the challenge - "Add a table heading tag to the table you just created."

I've coded as the following -

<table>

  <th>Table Heading Tag</th>

</table>

And it gives me this error - "Bummer! Try adding a table heading tag inside of the table."

I've tried a half dozen other things, and nothing seems to correct it. What am I missing?

3 Answers

Chase Lee
Chase Lee
29,275 Points

It's thead not th.

Adam Moore
Adam Moore
21,956 Points

'<thead></thead>' is what you are looking for, I believe. <thead> is the heading section of the table, while <th> is a heading cell inside of a table.

Thanks!