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 trialJack Pridmore
795 PointsFinishing the CSS
Hi, I can't seem to complete this exercise. The question asks me to add a top border, and border color to the copyright id element. My CSS that I've added to the the css file on the exercise is:
hash-icon (obviously as the hash icon not text) copyright { border-top: 8px; border-color: #2A0400; }
Could you please explain where I'm going wrong?
2 Answers
Dave Evans
13,160 PointsYou need to define what type of border (ie. dashed, dotted, solid). I would try using the border shorthand:
#copyright {
border-top: 8px solid #2A0400;
}
James Gill
Courses Plus Student 34,936 PointsJack,
It's asking you to define a top border, not a border all the way 'round. So, you'll want to use "border-top", not "border".
James Gill
Courses Plus Student 34,936 PointsAh, sorry, I see you've already done that. Try removing the "border-color" bit and just keep the hex color value.