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

HTML HTML Tables HTML Tables

Lucille daCosta
Lucille daCosta
2,286 Points

This didn't pass the test. Create a table head inside a table. I indented too. <table> <th></th> </table>

Is it possible that the test is messed up?

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>HTML Tables Challenge</title>
  </head>
  <body>
    <h1>HTML Tables Challenge</h1>

    <!-- Write your code below -->
  <table>
    <th>
    </th>
  </table>

  </body>
</html>

A table header is bit different than table data, but it's still a row of data. There might be a set of tags missing...

2 Answers

Kristopher Van Sant
PLUS
Kristopher Van Sant
Courses Plus Student 18,830 Points

Hi! Adjusting my answer after further consideration. I believe the following might be what you need.... let me know if that helps!

<table>
   <thead></thead>
</table>
Lucille daCosta
Lucille daCosta
2,286 Points

Thank you so much! <thead> was the answer!