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

Justin Bgoni
Justin Bgoni
4,821 Points

Struggling with this one

This is the question: Open a scope for <a> tags and make their color 5% lighter than the standard red

My answer is as follows: a { color:lighten (red, 5%); }

Why is it wrong?

4 Answers

Hi Justin,

Remove the space after lighten. You may also need to add a space before lighten but I don't think so.

Jeff

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

Is the code I used and it worked.

Marc-Oliver Gern
Marc-Oliver Gern
8,747 Points

Was a bit confused with the word "scope". Maybe it makes sense to stick to some name conventions (css rule, with selector "a"?)