Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

christina myrie
2,621 Pointsi'm up to the third part of the challenge task for tables and i'm not sure how to add a row inside of the table header
please help
2 Answers

Wayne Priestley
19,579 PointsHi Christina,
If you have
<thead>
</thead>
Then you would use the <tr> </tr>
inside of them.

Ken Alger
Treehouse TeacherChristina;
What code do you have thus far? If you have gotten through the first two tasks your code should look something like:
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables Challenge</title>
</head>
<body>
<h1>HTML Tables Challenge</h1>
<!-- Write your code below -->
<table>
<thead>
</thead>
</table>
</body>
</html>
To add the table row inside the table header, you need to put <tr>
and </tr>
in between the <thead></thead>
elements.
So, the table portion of the code would wind up looking like:
<table>
<thead>
<tr>
</tr>
</thead>
</table>
Make any sense?
Happy coding,
Ken