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 trialSpencer Worthing
6,341 PointsIs there a reason why this isn't working?
Within my table quiz I am told to add a table cell with text into the row of my tables body. This is the result and it's saying it is incorrect.
<!DOCTYPE html> <html> <head> <title>HTML Tables Challenge</title> </head> <body> <h1>HTML Tables Challenge</h1>
<!-- Write your code below -->
<table>
<tr>
<thead>
<tr>
<th>one</th>
<th>two</th>
</tr>
</thead>
</tr>
<tbody>
<tr>
<td>text</td>
</tr>
</tbody>
</table>
</body>
</html>
2 Answers
Hector Herrera
3,839 PointsMight need to be indented.
Spencer Worthing
6,341 PointsI figured it out, for some reason it wasn't working so I redid the code quiz and then it worked out.
Jason Anello
Courses Plus Student 94,610 PointsYour original code has a <tr>
wrapped around the thead
. Maybe you didn't put that in when you redid it. This would be invalid html.