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

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

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.

1 Like

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.

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