@for to Create a Sass Loop

@for to Create a Sass Loop
0.0 0

#1

Tell us what’s happening:
I can’t seem to pass this code either using “Through” or "To’. anyone knows how to resolve it? Is it possible the code is broken?

Your code so far


<style type='text/sass'>

  @for $j from 1 through 6 {
  .text-#{$j} { font-size: 10* $j; }
  }
  
</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>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/front-end-libraries/sass/use-for-to-create-a-sass-loop/