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

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!