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 CSS Foundations Text, Fonts, and Lists More Text Properties: Part 1

Neil Miller
Neil Miller
6,397 Points

text shadow

"Create a text shadow for the paragraph using a horizontal offset of 0, a vertical offset of 1px, and shadow color of white."

I put

p1 { text-shadow: 0px 1px #FFFFFF; }

I thought this would work but it doesn't. I got nothing. Please help.

Neil

2 Answers

Erik McClintock
Erik McClintock
45,783 Points

Neil,

You have written 'p1' as the selector; they are asking you to target the paragraphs, which is simply 'p'. Otherwise, your code is fine! Remove the '1' from your selector and you're good to go :)

Erik

Neil Miller
Neil Miller
6,397 Points

I wonder why I had to type p1? Weird.

Thank Much!