"Use the CSS Transform scale Property to Change the Size of an Element" Challenge is broken?

Tell us what’s happening:

I believe this code is correct but its not being accepted. What can try so the site accepts it? Im using Chrome and my zoom is at 100%

EDIT: I was missing a semi colon, im dumb
Your code so far


<style>
.ball {
  width: 40px;
  height: 40px;
  margin: 50 auto;
  position: fixed;
  background: linear-gradient(
    35deg,
    #ccffff,
    #ffcccc
  );
  border-radius: 50%;
}
#ball1 {
  left: 20%;
}
#ball2 {
  left: 65%;
  transform: scale(1.5)
}


</style>

<div class="ball" id= "ball1"></div>
<div class="ball" id= "ball2"></div>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.122 Safari/537.36.

Challenge: Use the CSS Transform scale Property to Change the Size of an Element

Link to the challenge:

1 Like

Hello @gcasa032, welcome to the forum.
The FreeCodeCamp tests are strict about syntax rules. So you should always close your CSS declarations with a semicolon.
The same apply for the other languages you will learn here. For example in html tags you have to use lowercase always, and close all JavaScript statements and asigments with semicolon.

1 Like