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.

CSS

Hi team. How do i know of this color lightslategrey. Doing css.

Am failing to answer my challenge: Creat a new type selector that targets the paragraph element. Add a color property and set the value to lightslategrey.

2 Answers

Tobias Helmrich
Tobias Helmrich
31,602 Points

Hey there,

if you write it like that:

p {
  color: lightslategray;
}

it should actually work. I guess the problem could be that the color is called "lightslategray" instead of "lightslategrey" (note that there's an a in gray instead of an e)

But if not could you please tell us which challenge you're doing and also post your code? :)

Hie Tobias Thanx for the response i managed to see were i was going wrong. Am doing front end web designing. I was writting h{ color:lightslategray } instead of header{ color:lightslategray }

Will try give more details next time when am posting my question

Tobias Helmrich
Tobias Helmrich
31,602 Points

Alright, I'm glad you got it working! :)