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

Stuck on adding border to copyright section

I keep adding #copyright to select the id for the copyright div at the bottom, but it's acting like it isn't recognizing the id selection

3 Answers

Jeremy Frimond
Jeremy Frimond
14,470 Points

Josh Peters which task number is it in the challenge?

Jeremy Frimond
Jeremy Frimond
14,470 Points

@josh peters I dont know which of the 4 tasks you are currently on. I used the following code and it worked for task 1. Sometimes there are small mistakes that are easy to miss. Since I dont know what you coded compare my piece of code with yours and you should hopefully be able to find your mistake.

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

Thanks Jeremy! I had forgotten to drop in the solid attribute so that seemed to make it happy. It was holding on to the pink formatting of a hex color value for the id which threw me off and the error was just about the id selector.

Thanks again!

Jeremy Frimond
Jeremy Frimond
14,470 Points

No worries bru, happy to help!