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 trialFidelis Chime
6,077 Pointsbox -shadow
Let's give .main-header an inner-shadow with a second set of box-shadow values. Set the new shadow's horizontal and vert
2 Answers
Shem Ogweno
15,393 PointsI believe you are asking for solution and here's how I would solve it!
.main-header {
box-shadow: 0 2px 15px #aaa,
inset 0 0 60px 5px firebrick;
}
Rohald van Merode
Treehouse StaffHey Fidelis Chime 👋
The code that Shem provided should be passing as expected. The syntax highlighting looks a little different on the forum compared to the challenges so that is why the color is yellow here and blue in the challenge editor.
If your code still isn't passing make sure that you have the comma placed inbetween the two value sets. If that doesn't work please share the snippet of code you're working with so we can have a look at what might be causing it not to pass 🙂
Hope this helps!
Fidelis Chime
6,077 PointsHello Rohald, Thanks for assistance , having tried it again , it worked
Fidelis Chime
6,077 PointsFidelis Chime
6,077 PointsThank you Shem, but I have the same code like yours but the difference is that your text color firebrick is yellow while mine is blue, so I dont know where the problem is.