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 trialchristina 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