Sass: Apply a Style Until a Condition is Met with @while - one more

Sass: Apply a Style Until a Condition is Met with @while - one more
0

#1

Once again - its not working (most of the sass tests doesn’t work)…


#2

Put a space between $x<11 and {. Generally you want to use whitespace to make your code more readable and sometimes you can run into issues if you neglect to use whitespace appropriately.


#3

Seems to be a bug in Chrome. Even with appropriate whitespace it does not accept the answer. I worked around it by just copy/pasting the answer and submitting it in Safari instead.


#4

It passes for me in the most recent version of Chrome, so I’m not sure what was causing a problem for you.