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!

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

Stuck on last task, HTML tables challenge

the last task says "Create another table row with a cell that spans two columns" ,which i did with the "thanks for reading!" row, but it says its wrong that "one table cell needs to span two columns" how can i fix this?

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

<!-- Write your code below -->
<table border="1">
      <td colspan="2">Thanks For Reading!</td>


</body> </html>

3 Answers

Hi Kalson,

I'm going to guess the code challenge doesn't want the added row in the table footer <tfoot>.


Timothy Rimnac
Timothy Rimnac
26,219 Points

Yes I agree, I just checked and the code challenge wants you to wrap all rows outside in head in a <tbody></tbody> and not use the tfoot tag. making that change will allow you to pass.

thank you!

ok Tim, ur saying to span all rows outside the thead tag?

ok I got it. Thanks guys!