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 trialNathan Begnaud
8,221 PointsStuck on Task 8/8 With Perfect Coding. How Do I Get Past?
My coding is perfect and I've already seen that other people are having problems with this too. Is there anyway I can just skip this since it seems to be some type of bug in the system.
My Code:
<!DOCTYPE html> <html> <head> <title>HTML Tables Challenge</title> </head> <body> <h1>HTML Tables Challenge</h1>
<!-- Write your code below --> <table border="2"> <thead> <tr> <th> German Cars</th> <th> Japanese Cars</th> </tr> </thead> <tbody> <tr> <td> BMW</td> <td> TOYOTA</td> </tr> </tbody> <tfoot> <tr > <td colspan="2" align="center"> This is Two Columns </td> </tr> </tfoot> </table> </body> </html>
2 Answers
Dustin Matlock
33,856 PointsYour code should look something like this.
<!DOCTYPE html>
<html>
<head>
<title>HTML Tables Challenge</title>
</head>
<body>
<h1>HTML Tables Challenge</h1>
<!-- Write your code below -->
<table>
<thead>
<tr>
<th>Item</th>
<th>Item</th>
</tr>
</thead>
<tbody>
<tr>
<td>Cells</td>
<td colspan="2">Two Colums/td>
</tr>
</tbody>
</table>
</body>
</html>
Jimmy Hsu
6,511 PointsThere's nothing wrong with the exercise that I can see running through it.
Your code isn't complete or was pasted wrong, so if I went off what you have posted it would be wildly incorrect.
<!-- Write your code below -->
<table>
<thead>
<tr>
<th>Test</th>
<th>Test 2</th>
</tr>
</thead>
<tbody>
<tr>
<td>Blah</td>
</tr>
<tr>
<td colspan="2">Blah 2</td>
</tr>
</tbody>
</table>
Above is the completed code if you do wish to skip, however I highly recommend you don't and take some time to review the code. It's not very glamorous, but knowing the foundations to what you are learning helps keep the rest above stable.
Nathan Begnaud
8,221 PointsNathan Begnaud
8,221 PointsSweet, thanks guys. Guess I did do it wrong lol.