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 trialTodd Squitieri
8,001 PointsOpening 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
19,579 PointsHi Todd,
You have the answer right, you just need to remove the space between lighten(red
a {
color: lighten(red, 5%);
}
Todd Squitieri
8,001 PointsTodd Squitieri
8,001 PointsThanks for the help, Wayne. I appreciate it.
Sincerely,
Todd