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

How do I put two header cells with text inbetween my table rows?

How do I put two header cells with text inbetween my table rows?

index.html
<!DOCTYPE html>
<html>
  <head>
    <title>HTML Tables Challenge</title>
  </head>
  <body>
    <table>
      <thead>
        <tr>
          <th>hello my friend</th>
        </tr>
      </thead>
    </table>
    <h1>HTML Tables Challenge</h1>

    <!-- Write your code below -->


  </body>
</html>
Jeff Lemay
Jeff Lemay
14,268 Points

It seems like you're trying to fly through the challenges and running to the forum for help (3 posts in 20 minutes) instead of going back to the video to find your answer. Slow down a bit and re-watch the videos or go through the video transcript to find answers so you will retain the info instead of being handed the answer.

1 Answer

Table header cells use the th tags, table rows use the tr tags. You've already got one header cell in the code you've pasted, so hopefully you can figure out how to add some more.