Hi all,
I’m stuck on the challenge in subject and there’s no way to pass it, even if the preview is correct.
I’m working with Chrome in incognito mode.
Here’s a screenshot:
Yes, it seems there’s a bug in this one too. I’ve noticed that almost all these SASS challenges behave weird. On the 1st one and the 5th one the first “run tests” did not work and the second run accepted the correct answer, without me modifying anything. This 6th challenge simply doesn’t accept the answer. So yes, there are some bugs in the background code.
Yes, it seems to be a bug, I even tried this will separate list of color like $colors: {color1: blue, color2: black, color3: red} but still it didn’t work.
I had some trouble with most of the challenges not validating. Turned out it was a spacing issue.
Once I spread everything out to adhere to convention, it validated.
Here’s the solution and spacing to the SASS Use @each to Map Over Items in a List challenge:
@each $color in blue, black, red {
.#{$color}-bg {background-color: $color;}
}
Yep. Same problem. Spacing should not be an issue - in fact you can argue that, as spacing is used for readability of code and ease of maintenance, forcing people to use a particular spacing can be teaching them the wrong way to code.
So far the SASS module is very disappointing for the way tests are failing for trivial issues that don’t relate to correct functionality. I’ve been coding for very many years, but for someone new it must be very disappointing and could undermine their confidence