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
Carman A
7,672 PointsCode challenge help
Ok so i'm on the html table challenge ( http://teamtreehouse.com/library/websites/html/tables/html-tables ) on task 4, the instruction's are Put two header cells with any text inside of the row you just created. and then i put the following code
http://codepen.io/sk1ll3t/pen/Knvqj
and get the following error: Bummer! Header cells must be inside of a table row and have text in them. i've exchanged the <th></th> tag with a thead tag got the same error then replaced it with a p tag and got the same error. Is this a bug because i keep getting the same error?
2 Answers
Kevin Korte
28,149 PointsNo it's not a bug. You're not quite there.
You can only use
<thead>
once. Inside of thead,and inside of your row, you add data to the head using the
<th>My data</th>
tags. You can use as many as those as you want inside your thead. Than make sure to close the head before opening the table body, which would than use the
<td>My data</td> tags.
Try that. I just re did the code challenge and passed it as so.
Carman A
7,672 Pointstrying to learn how to post code
<!DOCTYPE HTML> <p>Postin code</p>
Carman A
7,672 PointsCarman A
7,672 PointsLike this? http://codepen.io/sk1ll3t/pen/Knvqj because it's not working