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

detection of the "#" sign in my css

the software seems to do not detect the "ids" in my css. is always saying "you are not choosing an id, please use the # sign" but I am doing it...

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

5 Answers

Shawn Flanigan
PLUS
Shawn Flanigan
Courses Plus Student 15,815 Points

Kering: Not sure if this is the issue, but you're missing a semicolon to close out your CSS rule. This may be confusing the software. Try #copyright p { border-top: 8px solid #2A0400; }

In the forum, your # isn't showing up because you're not wrapping your code properly. The forum software sees your # as a heading tag. You'll want to put 3 backticks (left of the "1" on your keyboard) before and after any code. See the Markdown Cheatsheet for more info (link under the comment box).

is was an error in this post only and not in my code. and I already fix it here so this misunderstood will not happen again. Thank you. BTW. I read another issues and people were not doing it right. I am making it right... I do not understand... why is it telling me I am not choosing an ID !!!?????? This is taking to much time and the worst part is that I can not continue with the rest of the content.... Thank you for your time Shawn !

Hi Kering,

The error message is a bit misleading.

You're trying to select the paragraph within the copyright div element. The challenge wants you to select the copyright element only.

already did still reads.. "bummer, you are not using #" and I created one for the p tag, also the css worked... the issue is with the # dont know why.

Do you have a space after the # like # copyright? I know you don't have it in your question but perhaps in the code?

This passes the challenge:

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

This is the same css that you have posted in your question with the p dropped off.

You may need to refresh your browser. Occasionally people are not able to pass with correct code.

Cesar Vanbuskirk
Cesar Vanbuskirk
6,672 Points

Well make sure you have a semicolon after the hex color (#2A0400;)

thank you, it was an error on this post and NOT on my code... it was because of the hurry

Cesar Vanbuskirk
Cesar Vanbuskirk
6,672 Points

Also try removing the paragraph selector.

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

Shawn Flanigan
PLUS
Shawn Flanigan
Courses Plus Student 15,815 Points

Jason's code above should work. The only other thing I can think of is...are you writing your CSS in the CSS file? If you're putting it in index.html, it would give you that error. Just a thought.