Browser hangs when using while in Sass

Browser hangs when using while in Sass
0

#1

While using While Loop in Sass due to continuous checking the Browser hangs and I get the following Warning:

Which tells me either to stop the Website or wait.

The only way out is to code in reverse fashion:

  1. declare the variable $x: 1;
  2. increment $x: $x+1; }
  3. add logic `.text-#{$x} {font-size: 5px * $x;}
  4. add condition check $x < 11 {
  5. finally add while @while

Browser: Mozilla Firefox Quantum 61.0.2 (64-bit) on Window 10 64-bit machine


#2

FCC is best optimized for Chrome.

Try Chrome.


#3

As @shimphillip said try using chrome else update the chrome to latest version and try it or use latest firefox.

If nothing works and your code looks correct, then skip it and move on to other challenge