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

It looks like Task 3 is no longer passing

hi guys Am stuck on challenge 4 of 4 (gradients) getting an error message: oops it looks like Task 3 is no longer passing..

Question for this task is :"set the second color stop postion to 90%. Then add the value that set the gradient direction from bottom to top."

/* Complete the challenge by writing CSS below */ .main-header{ background-image:linear-gradient(to top steelblue, darkslateblue 90%); }

1 Answer

Hi! I took a look at the challenge an it looks like your just missing a ','. The code should look like this

.main-header{
   background-image: linear-gradient(to top, steelblue, darkslateblue 90%); 
}