Apply a Style Until a Condition is Met with @while
Problem Explanation
This program is very simple, the trick is to remember how while looping works.
Hints
Hint 1
- **Make sure your zoom settings are at
100%ordefaultotherwise tests sometimes fail. **
Hint 2
- You will initialise the loop first with x as:
$x: 1
Hint 3
- See the example for
@whilesyntax,@while $x < 11
Hint 4
- to set class properties inside a loop we reference them enclosed by #{}, hence ere it will become:
.text-#{$x}