Welcome to the Treehouse Community
Looking to learn something new?
Tim Meissner3,327 Points
Table Code Challenge Problems
I'm being asked to add a table body. But once I do, it says my task 1 code is breaking!
< table > < thead > < tbody > < tr > < th >Test< /th > < th >Test< /th > < /tr > < /tbody > < /thead > < /table >
Michael Hulet47,842 Points
The problem seems to be that you're nesting your
<tbody></tbody> inside of your
<thead></thead>. You're not supposed to do this. Those 2 elements function in many ways similarly to the document's
<body></body> tags, especially in that one is not supposed to be nested in the other.
Eric Vandenberg9,095 Points
<table> <thead> <tr> <th>Test</th> <th>Test</th> </tr> </thead> <tbody> </tbody> </table>