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

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! :)