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

Task 8 of HTML Tables

I am stuck on task 8 of the code challenge for HTML Tables. I've tried everything to create another table row with a cell that spans 2 columns. Any help would be appreciated. Thanks.

3 Answers

Hi Anne,

Look at the code below for awhile. It'll make sense.

Jeff

<table>
    <thead>
        <tr>
            <th>Any</th>
            <th>Text</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Cell</td>
            <td>With text</td>
        </tr>
        <tr>
            <td colspan="2"></td>
        </tr>
    </tbody>
</table>

Derek, Thanks for your response, but Jeff Busch gave me a hint, and I have it working now.

Anne Wynn

Jeff, Thanks, this does make sense. My mistake was I was putting the colspan="2" on the row <td> With text </td> rather than on a separate row. I appreciate your help.

Anne Wynn