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 trialfinntoase
1,081 PointsWhats wrong with this?
Line 21:
copyright { border-top: 8px 0 0 0 0 solid #2A0400 }
doesnt work...? Wheres the mistake?
5 Answers
Patrick Gerrits
14,614 PointsLets get you on the way.
Is copyright a valid html tag? Or is it a class or id?
Then when you look at the border-top. What are the 0's for?
Jaka Dirnbek
7,046 PointsWhat do the zeroes stand for?
copyright { border-top: 8px solid #2A0400 } should work.
finntoase
1,081 PointsThanks (both); indeed, die 0 0 0 s got in the way. The error message was misleading me...
finntoase
1,081 PointsThanks (both); indeed, die 0 0 0 s got in the way. The error message was misleading me...
Jason Broderick
7,361 Points"copyright" is not a valid html tag
It should read ".copyright" if its a class tag or "#copyright" if its an id tag. This is the equivolent to the tag you specified in your html markup for example;
<div id="copyright"> content </div> is a # (id) attribute
<div class="copyright"> content </div> is a . (class) attribute
also "0000" means nothing, it doesnt apply to anything.
correct code (if it is to apply to an id tag for example) should read;