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 trialNick Ars
5,341 PointsCould you help me please, how to add a table body tag and where? Maybe I missed a moment in the video, but I can't find(
I cannot pass task 5. Help please!
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables Challenge</title>
</head>
<body>
<h1>HTML Tables Challenge</h1>
<!-- Write your code below -->
<table>
<thead>
<tr>
<th>PC</th>
<th>Console</th>
</tr>
</thead>
</table>
</body>
</html>
2 Answers
Riho Rannamäe
3,784 PointsThere is no stupid questions! ;) You are actually learning something (HTML Tables) from Treehouse, what I haven't watched/learned myself (yet). Maybe reading from these links, can clarify more about the tbody tag.
+ http://www.w3schools.com/tags/tag_tbody.asp
+ https://developer.mozilla.org/en/docs/Web/HTML/Element/tbody
Riho Rannamäe
3,784 Points<tbody> tag should be added after <table> tag. Hope this helps to complete your challenge! :)
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables Challenge</title>
</head>
<body>
<h1>HTML Tables Challenge</h1>
<!-- Write your code below -->
<table>
<tbody> <!--Table body tag-->
<thead>
<tr>
<th>PC</th>
<th>Console</th>
</tr>
</thead>
</tbody> <!--Table body tag-->
</table>
</body>
</html>
Nick Ars
5,341 PointsThank you very much for your help!:) Maybe it is a stupid question, but what is the aim of this tag?) <tbody>
Nick Ars
5,341 PointsNick Ars
5,341 PointsThank you again. Everything is clear)