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 and Box Shadows

Part 4 of challenge

```box-shadow: 0 2px 15px #aaa, inset 0 0 60px 5px firebrick;

Can somebody tell me why this is wrong? Thanks.
.main-header {
 box-shadow: 0 2px 15px #aaa, inset 0 0 60px 5px firebrick;
}

I'm not sure why yours didnt validate at a glance. I just ran through the challenge and this was my box-shadow line.

4 Answers

Here's a post which should help answer your question. Double check the rest of your code.

Thanks but unfortunately it doesn't help because the final answer given is exactly my answer.

Maybe try saving your code, refreshing, and pasting it in again. Otherwise, we'd need the rest of your code to determine what's wrong. I used the code you provided to pass the challenge.

I started the challenge again from scratch typing in the same thing and it worked this time. I must have had a silly typo that I just couldn't find. Sorry to inconvenience you all and I really appreciate your replies, this is a very helpful community.

Glad you got it working. And there's no inconvenience -- the Treehouse is for just that. :smiley: