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 trialDarren Franks
1,006 Pointshi im trying to add new box value!
im trying to add a new box value and it says with multiple commas with a inset and i have written this every way i can and the page keeps refusing it! i added a new line with the word inset and the other values and changed the original to suit the question and i added commas to all and still no luck!
Darren Franks
1,006 PointsHi thank you but no such luck, im sure its the way the qusestion is being asked if you dont see it too! i tried this too and still no luck! .main-header { box-shadow: 0 2px 15px #aaa; box-shadow: inset 0, 0 60px 5px firebrick; }
Matt Jones
3,206 PointsHi Darren,
The code you've posted isn't the same as I wrote in my first comment. You don't need to declare the 'box-shadow' a 2nd time. It looks like you have also added a comma after 'inset 0' which doesn't need to be there.
The steps to fix you're code are:
- Replace the ';' after #aaa with a ',' (comma)
- Remove the 2nd instance of 'box-shadow'
- Remove the ',' (comma) you have after 'inset 0'
Darren Franks
1,006 PointsBless you Matt thank you it worked! it was throwing me off because it didnt have anything before the word inset! HAPPY CODING!
Matt Jones
3,206 PointsThanks Darre, I'm new to Treehouse and the way some of the questions are worded sometimes don't make it clear what to do!
Could you upvote my answer below?
1 Answer
Matt Jones
3,206 PointsThis should do it
.main-header {
box-shadow: 0 2px 15px #aaa,
inset 0 0 60px 5px firebrick;
}
Matt Jones
3,206 PointsMatt Jones
3,206 PointsHi Darren,
I think the code you need is the following: