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 trialJason Marlin
1,166 PointsWhy is the exam rejecting this script as incorrect?
Why is my CSS being rejected here? It keeps throwing up weird errors that seem to ignore the script ive written.
I am getting the errors on step 4 where it requests that I : βset the color stops position to 90%. Then add the value that sets the gradient from top to bottom. β
.main-header {background-image: linear-gradient(to bottom, steelblue, darkslateblue 90%);}
1 Answer
Kelvin Parker
3,335 PointsI'm sure you've solved this by now, but looking at the challenge is it not as simple as reading the question wrong? I just completed it with the challenge from bottom to top, so it was merely changing the "to bottom", "to top".
Jason Marlin
1,166 PointsJason Marlin
1,166 PointsThanks dude this totally worked! I had it backwards i guessπ How odd