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!
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

Dean Wagman
21,591 PointsFinishing the CSS
I've been having trouble with the last code challenge in this section. Specifically question 1. I plug everything into the Stylesheet:
"#copyright { border-top: 8px; border-color: #(hex code); }"
But when I check my work I get an error saying that I need to make sure that when I'm selecting an id I use the "#" sign followed by the id name. I've become frustrated because I don't know what I'm doing incorrectly and this is the only step in the whole unit I haven't completed.
Anybody have any advice?
7 Answers

James Barnett
39,199 Points@Dean - border-top
is a shorthand property whereas, border-color is not.
There are 2 ways to do this:
The shorthand used by @Sam:
#copyright { border-top: 8px solid #2A0400 };
The "long" form:
#copyright {
border-top-style: solid;
border-top-width: 8px;
border-top-color: #2A0400;
}

Enrique de Larrazabal
3,595 Pointswhy (hash) not #, and don't capitalize Border

Dean Wagman
21,591 PointsEnrique, I have been using "#" I just used hash here because it wasn't showing up when I posted in the forum. And my phone must have auto capitalized border, but that doesn't seem to be working either.

samiff
31,206 PointsYou aren't specifying the border style: http://reference.sitepoint.com/css/border-top
border-top: 8px solid #2A0400;
Should work for you.

Dean Wagman
21,591 PointsThank you so much Sam! You don't know how good it feels to finally pass that challenge after obsessing over it for so long. I really appreciate it.
Dean.

Dean Wagman
21,591 Points@james I didn't know that. Thanks. I understand it know.
Dean.

ecp
838 Points...and knowing is half the battle :D So glad it is working for you now Dean!
Teamwork WOOH! If you have any questions or get stuck on a code challenge don't hesitate to post on the Forum, or email me ^.^ help@teamtreehouse.com
HighFive !!