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 trialPaul McCormick
9,816 PointsI 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;
@content;
}
a {
color: #fof8ff;
@include button;
}
2 Answers
Luke Pettway
16,593 PointsYou have an o in place of a 0
color: #fof8ff;
should be color: #f0f8ff;
Paul McCormick
9,816 PointsThat worked just fine, Thank you! Something very simple as that just shows how easy it is to have bugs in code!
Luke Pettway
16,593 PointsLuke Pettway
16,593 PointsHexadecimal values only go from 0-9 and A-F, I hope that helps!