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 Basics (2014) Enhancing the Design With CSS Text Shadows

Ganta Hemanth
Ganta Hemanth
6,460 Points

text-shadow

I am doing an challenge on text-shadows. The challenge asks me to set the vertical and horizontal offset to 0px and blur radius to 5px. Color of the shadow is #be7b37.

i used following syntax

text-shadow:0px 0px 5px #be7b37;

It is showing an error saying vertical offset is not set to 0px.

What is the wrong in my statement??

2 Answers

Jesse Gravenor
Jesse Gravenor
27,272 Points

Try dropping the "px" from your 0 values. Also, check your color value.

It looks like you are missing a space after the colon.

Aleksey Polivanyy
Aleksey Polivanyy
1,679 Points

Ive just checked, no space req after colon.