Apply a Style Until a Condition is Met with @while/-/

Tell us what’s happening:
I have completed the challenge. But the console is giving error that my .text-1 element’s font-size should be 5px. When I am checking through dev-tools it is showing the size to be 5px.

Your code so far


<style type='text/sass'>
  
  $i : 1;
  @while $i < 11{
  .text-#{$i}{
    font-size: 5px*$i;
  }
    $i : $i + 1;
  }
  
  
</style>

<p class="text-1">Hello</p>
<p class="text-2">Hello</p>
<p class="text-3">Hello</p>
<p class="text-4">Hello</p>
<p class="text-5">Hello</p>
<p class="text-6">Hello</p>
<p class="text-7">Hello</p>
<p class="text-8">Hello</p>
<p class="text-9">Hello</p>
<p class="text-10">Hello</p>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/sass/apply-a-style-until-a-condition-is-met-with-while/

There is some kind of bug maybe in chrome.
I did it on firefox and it worked.

it may be possible that the chrome browser has a minimum font size that is higer than 5px, and as such this doesn’t really work