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 Sass Basics (retired) Speeding up Workflow with Sass Creating a Color Palette

Todd Squitieri
Todd Squitieri
8,001 Points

Opening Scope? -- Using SASS 3.4

I am now struggling with this new SASS challenge. The instruction is:

"Open a scope for <a> tags and make their color 5% lighter than the standard red."

Why doesn't the following code work?

a {
    color: lighten (red, 5%);
}

I just don't get it. Also, I am still struggling to get my sass files to sync properly despite the fact that I always cd to my Desktop on the Git Bash terminal that I use and sync the files with this code:

sass --watch main.scss:main.css

Please someone help me figure SASS out. I'm totally lost here.

-T

1 Answer

Wayne Priestley
Wayne Priestley
19,579 Points

Hi Todd,

You have the answer right, you just need to remove the space between lighten(red

a {
    color: lighten(red, 5%);
}
Todd Squitieri
Todd Squitieri
8,001 Points

Thanks for the help, Wayne. I appreciate it.

Sincerely,

Todd