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

Tiago Pinheiro
Tiago Pinheiro
10,622 Points

Code 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

Try removing the space before the parenthesis in complement (red);

Ginelle Sutherland
Ginelle Sutherland
12,807 Points

background: desaturate ($complement, 10%);