Use @for to Create a Sass Loop

@for $j from 1 through 6 {
.text-#{$j}{
font-size: 10px*$j;
}
}

GUYS PLEASE USE SAFARI. it will pass!!!>

1 Like

Thank you, after many attempts to pass this challenge with all the others tricks of different web browsers or minimum font-sizes, I can pass the challenge, your solution works, only change 10px to 15px…

@for $j from 1 through 6 { .text-#{$j} { font-size: 15px * $j } }

Hello

Hello

Hello

Hello

Hello

It works for me in Safari. I was going crazy… Thx