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!

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 Improve Your Workflow with Sass Write a Mixin

Paul McCormick
Paul McCormick
9,816 Points

I am really stuck with pass color value #fof8ff to @include button please help!!!

I have tried to add color: #fof8ff; to both a and within the @mixin button { but nothing is passing the code! Would greatly appreciate some help. Thanks

$btn-background: #dc143c;

/* Write your SCSS code below. */
@mixin button {
font-size: 1.25em;
background-color: $btn-background;

a {
  color: #fof8ff;
  @include button;

2 Answers

You have an o in place of a 0

color: #fof8ff; should be color: #f0f8ff;

Hexadecimal values only go from 0-9 and A-F, I hope that helps!

Paul McCormick
Paul McCormick
9,816 Points

That worked just fine, Thank you! Something very simple as that just shows how easy it is to have bugs in code!