I am working on the "Sass: Use @for to Create a Sass Loop", and it states to Write a @for directive that takes a variable $j that goes from 1 to 6.
It should create 5 classes called .text-1 to .text-5 where each has a font-size set to 10px multiplied by the index.
}, but for some reason, it is not letting me pass. Did I miss something?
“that goes from 1 to 6.”
Not using the right key word. You need to use the keyword to. That goes to number 6, but it does not include 6. That will give you 1-5
Thanks, I will rewrite my code. Fingers crossed.