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 Advanced Sass Advanced Variables, Mixins, Functions, and Placeholders List-Maps

Seth Warner
Seth Warner
1,878 Points

Can't quite think of anything else, I would love to know why my code won't pass.

At the moment I can't submit my answer due to the page timing out, I've just pushed over a help request to the support team at Treehouse. In the meantime, is there anything wrong with my code? I haven't gotten a chance to submit this answer yet, but I figured while I wait I may as well ask.

  • Seth
style.scss
$input-disabled-color: #000000;

$input: (
  disabled-background: lighten($input-disabled-color, 75%),
  disabled-border: lighten($input-disabled-color, 50%),
  disabled-text: lighten($input-disabled-color, 50%)
);

input[disabled]{
background-color: map-get($input, disabled-background);
border-color: map-get($input, disabled-border);
color: map-get($input, disabled-text);

}

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Your code is just fine. When I paste it in the challenge it passes! Here's a tip though about the page timing out. When it gives you the alert with two buttons to start over or whatnot... just click on the X to X out of that and run recheck work. 9 out of 10 times it'll fix it.