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

CSS

smells like bakin final css challenge

I keep getting an error saying I have to use the # symbol then the selector of this div I want to select, to select an ID, and I believe im doing it correctly, I cant see why its saying im doing it wrong.

In the project html it is: div id="copyright"

and in my css im doing:

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

but it keeps saying im wrong and to remember to use a # before the content you want to style for ID's.

1 Answer

You need to put solid in between 8px and #2A0400.

Hope that helps.

Gah that was it... the faulty error message threw off my focus thanks!

Marshall Wells

the faulty error message

My 2 cents on this is that since CSS doesn't actually have error messages, when doing the code challenges for CSS, I think of the failure messages as generic task failure messages and I usually ignore the actual text.

My debugging process for CSS is:

  • Check it's valid CSS with http://csslint.net/
  • Double check the directions to make sure I'm answering the right question