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

General Discussion

HELP ME!! Speeding up Workflow with SASS

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!)

This is my code... $complement: complement(red); a { color: lighten(red, 5%) background: desaturate($complement, 10%) }

I have been stuck on this for a few days now

1 Answer

Hayden Taylor
Hayden Taylor
5,076 Points

maybe because you aren't putting the semicolons in?

$complement: complement(red); <-- you actually added this one lol why not the rest?
a {
    color: lighten(red, 5%); <--- here
    background: desaturate($complement, 10%); <-- here
}