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 trialTiago Pinheiro
10,622 PointsCode Challenge 1 Stage 3 Sass. I'm stuck here!
Set the background of the <a> tag to be a 10% desaturated version of the variable, using the desaturate function. (HINT: desaturate works a lot like the lighten function - taking a color, then a percentage!)
I put:
$background: red; $complement: complement (red);
a {
color: lighten($background, 5%);
background: desaturate($complement, 10%);
}
but apparently there is a mistake.
2 Answers
Ben Rubin
Courses Plus Student 14,658 PointsTry removing the space before the parenthesis in complement (red);
Ginelle Sutherland
12,807 Pointsbackground: desaturate ($complement, 10%);