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

Hello, i can't get the code right for this code challenge...

i have included a link: https://teamtreehouse.com/library/css-basics/designing-with-the-latest-features/text-shadows-and-box-shadows

Can someone help me out? It is task 4 where i m stucking...

2 Answers

Without seeing your code, cannot see where you went wrong, but I just passed the challenge with this code:

.main-header {
  box-shadow: 0 2px 15px #aaa, 0 0 60px 5px firebrick inset; 
}

Hello Jake,

This was the wrong code which i had placed:

.main-header { box-shadow: 0 2px 15px #aaa; box-shadow: inset 0 0 60px 5px firebrick; }

Anyway i followed your advice and now it's working, really thanks (: