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 Build a Simple Website Styling Content Finishing the CSS

Finishing the CSS

Hi, I can't seem to complete this exercise. The question asks me to add a top border, and border color to an id element. My CSS that I've added to the the css file on the exercise is:

copyright{

border-top: 8px; border-color: #2A0400; }

Could you please explain where I'm going wrong?

1 Answer

Hey mate!

Two things I can think of... Are you using the "#" before copyright?

Also, and probably what's causing it to not advance is that the "border-top" should also include "solid" after the 8px. For example...

    #copyright {
      border-top: 8px solid;
      border-color: #2A0400;
}

Hope that helps!