cybbro
1
Tell us what’s happening:
Even the code is right and everything is working, it says there is an error.
Your code so far
<style type='text/scss'>
@for $j from 1 to 6 {
.text-#{$j} { font-size: 15px * $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 (X11; Ubuntu; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
.
Challenge: Use @for to Create a Sass Loop
Link to the challenge:
Sky020
3
Hello there,
If your code is correct, and the tests are not passing, it is important to note:
- We recommend the latest stable version of Chrome for the fCC curriculum.
- Browser extensions affect the tests. Disable them.
- Ensure your default browser zoom level is set to 100%.
Hope this helps
cybbro
4
Thank you, it appears zoom level was my issue!