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
Eric Washington
iOS Development with Swift Techdegree Student 21,884 PointsTable Heading Tag Issue
Directions: Add a table heading tag to the table you just created.
There seems to be a problem with my code.
<table border="1">
<th>Fruit</th>
</table>
Can someone please direct me in the right path please.
2 Answers
Robert Mabbs
12,060 PointsEric Washington you seem to have the right code for table header but, you still have to include a table row to contain your table header.
<table border="1">
<thead>
<tr>
<th>Fruit</th>
<tr>
</thead>
</table>
Eric Washington
iOS Development with Swift Techdegree Student 21,884 Points<table border="1">
<th>Fruit</th>
</table>
Eric Washington
iOS Development with Swift Techdegree Student 21,884 PointsEric Washington
iOS Development with Swift Techdegree Student 21,884 PointsThanks Rob! I have figured it out.
Robert Mabbs
12,060 PointsRobert Mabbs
12,060 PointsGlad you got it sorted out.