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
Pablo Grippo
25,765 PointsCode Challenge: Box Shadows
Hi there, I'm doing the Code Challenge in the 'Background & Borders' section from the CSS Foundations.
I wrote this:
.box { box-shadow: 10px 10px 5px 15px #222; }
But it throws me en error that says me, 'Make sure your box-shadow values exactly match the instructions'.
This is what I have to do: Create a drop shadow for the '.box' div. Make it appear 10px to the right, 10px down, have spread radius of 5px, a color of #222 and blur radius of 15px.
Please any help would be really nice, Thank you very much in advance!
Paul
7 Answers
Ajaiy Dharsaun
6,531 Points.box { box-shadow: 10px 10px 15px 5px #222; }
Guil Hernandez
Treehouse TeacherHi Pablo Grippo,
You're very close. Just swap the order of the spread radius and blur radius values and you're good-to-go.
Narayana MVL
3,993 PointsThanks Guil Hernandez its worked for me too.
Pablo Grippo
25,765 PointsIT'S SOLVED!
Thank you very much for your response Guil Hernandez.
By the way, The CSS Foundations is great! I'm learning a lot! :)
Guil Hernandez
Treehouse TeacherNice work, Pablo Grippo!
I'm really glad to hear that you're learning a lot. Thanks for being a Treehouse member!
safal jain
Courses Plus Student 1,575 Pointsplease paste code here
Aurelian Spodarec
7,369 PointsHi , Guil Hernandez , i have a question on how can i learn effectlively ? I mean , buy just going throw your videos and making challenges and quizes , will i learn enought ? i mean should i make something extra or on other courses like CSS layout i will get everything bits by bits slowely ? Its just that i dont want to waste time by wathcing videos and not learn anything if i will forget it the next day or know a little about it .
Another question is , should i learn JS first or PHP ? or Ruby on Rails to get on the internet fast ? In the way that i could make accounts for users etc.. like fb or in teamtreehouse with points to students and then while learning js i could just update my website ?