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 trialGregory Myers
21,988 PointsCode challenge does not recognize my table header no matter what code I use - including Nick P's table code from video
"Add a table header"
Response: "Bummer! Try adding a table header to your code"
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables Challenge</title>
</head>
<body>
<h1>HTML Tables Challenge</h1>
<table border="1">
<tr>
<th>Fruits</th>
<th>Vegetables</th>
</tr>
<tr>
<td>Oranges</td>
<td>Carrots</td>
</tr>
<tr>
<td>Apples</td>
<td>Broccoli</td>
</tr>
<tr>
<td>Strawberries</td>
<td>Asparagus</td>
</tr>
<tr>
<td></td>
<td>Potatoes</td>
</tr>
</table>
</body>
</html>
1 Answer
Craig Watson
27,930 PointsHi Gregory,
the challenge is asking for "table header" the code above is specifying a table heading within a row, the answer to the code challeenge through task one and two is bellow:
html
<table>
<thead>
</thead>
</table>
Hope this helps !
Craig