Hello all,
In the exercise “Sass: Apply a Style Until a Condition is Met with @while”, it seems very easy to crash the browser without running the test.
As the website automatically interpret the code to render it, when we start typing the answer, we can arrive to an infinite loop because the code is not finished being typed!
$x: 1;
@while $x < 13 {
}
I was wondering if my understanding is correct (or maybe I’m doing something else wrong) and if maybe there shouldn’t be a clearer warning sign that an infinite loop syntax should be avoided even if the test are not run?
Cheers,
Joel