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

Didier Borel
Didier Borel
2,837 Points

i am not sure what you are asking exactly by " put 2 header cells inside the row you just created"

does that mean add 2 cells below the header I just created? if so that is what I did, but got a response that it was incorrect

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

    <!-- Write your code below -->
<table>
  <thead>
    <tr><th>baseball</th></tr>
    <tr><th>hi man</th></tr>
    <tr><th>hi women</th></tr>
    </tr></thead>
    </table>

  </body>
</html>

2 Answers

Tomáš Grygerek
Tomáš Grygerek
5,694 Points

Hi, tavle header should be just 1 row with one or more cells. You created 3 rows each with 1 header cell.

Table ow with 3 header cells:

<tr><th>baseball</th><th>hi some1</th><th>hello</th></tr>```