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 trialDiego Merida
848 Pointscode no working
this is my code for this question why ist no working it is asking to add a heading tag to the table this is my code
table border ="1">
<tr> <th>fruits</th> </tr>
<tr> <td>orange</td> </tr>
2 Answers
Timothy Parenteau
7,515 Pointsyou need to add px to it like ="1px"
mohannedshehri
1,101 PointsHello Diego,
Some Properties like "border" and "margin" and "padding" require a unit, and px (meaning pixels) is one of the unit that you can choose.
Also there are some Properties that don't require a unit such as "font-weight". now for the "font-weight" property you can choose just a number like 600 or 800.
Hope that helped. Cheers.