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

HTML HTML Tables HTML Tables

Getting bug in giving table heading

Hello, I am a beginner, and i am unable to find the wrong thing i am doing in writing this code.Please help.

Thanks

THe code i am writing is:

<table> <tr> <th>Month</th> <th>Savings</th> </tr> </table>

11 Answers

Mike Morales
Mike Morales
19,833 Points

OK, thanks! Here is a link How to Create a table heading. Look for the title Table Header, step 4.1.6, and there is an example that will point you in to the right direction. You can usually find helpful hints in the forum if you search for them, or you can research for examples through any search engine.

Mike Morales
Mike Morales
19,833 Points

What project are you working on, and can you provide an example of the problem you are stuck on?

I am stuck in the code challange section of html : form

Mike Morales
Mike Morales
19,833 Points

Can you provide me the link of the project you are working? I don't know where to find html : form?

Oops Sorry, that was table...... :)

http://teamtreehouse.com/library/html/tables/html-tables

Mike Morales
Mike Morales
19,833 Points

Which challenge task are you working on? They're 8 tasks?

2nd one

Its is still not taking...... when i write this code.

<table> <th>Orange</th> <th>Peacock</th> <th>Rabbit</th> </table>

It says - Bummer! Try adding a table heading tag inside of the table.

Please help

Mike Morales
Mike Morales
19,833 Points

How did you write your table head element between your table tags?

<table> <th>Fruit(s)</th> <th>Vegetables Title</th> <th>Plants</th> </table>

Mike Morales
Mike Morales
19,833 Points

You need to add the opening and closing table head between your opening and closing table. May, I suggest rewatching the video and taking a few notes, visit topics in the forum room, for hints, visit a search engine and type in something similar to, "how to add a HTML table header tag", just a few suggestions that should provide you in the right direction.