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 trialJessica Diaz
618 PointsHow to put two header cells inside of a row?
Help. Im on Challenge tag 4 of 8 in HTML Tables exercise. Ive tried several types of code and nothing is working
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables Challenge</title>
</head>
<body>
<h1>HTML Tables Challenge</h1>
<!-- Write your code below -->
<table border="1">
<thead>
<tr>
<th>Night</th>
<th>Day</th>
<th>Afternoon</th>
</tr>
</thead>
<tr>
<td>dark</td>
<td>light</td>
</tr>
<tr>
<td>moon</td>
<td>sun</td>
</tr>
</table>
</body>
</html>
Jessica Diaz
618 PointsOk. Thank you
2 Answers
Steven Parker
231,236 PointsYou've got one too many cells in that row.
For task 4 the challenge says "Put two header cells ...", but it looks like you have three.
Jessica Diaz
618 PointsOk Thanks
Bogdan Cabaj
16,349 PointsBogdan Cabaj
16,349 PointsThis pasted challenge 4 of 8. Try removing your 3rd th.