Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!