I'm stuck please help!

Im not sure what I am doing wrong… please help me lol

  **Your code so far**

<style type='text/scss'>
$x: 1;
@while $x < 11 {
.text-#{$x} { 
  font-size: 15px * $x;
$x: $x + 1;
<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/100.0.4896.60 Safari/537.36

Challenge: Apply a Style Until a Condition is Met with @while

Link to the challenge:

Hi @monica.hail214 !

Welcome to the forum!

I don’t see an end tag here

ah… that was it thanks so much lol

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.