Transform Scale Property Test

**I have been learning responsive web design but I’m stuck at this challenge. I also watched video and wrote perfect code but “Run the Test” option says that the code is not complete. Kindly resolve the issue. **


<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/99.0.4844.74 Safari/537.36

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

Link to the challenge:

I was trying to find out what you had wrong in your code but I see that everything is correct. I even copied your code to the console and it worked fine for me.

If you have any errors, the console gives you an idea of ​​what the problem is.

Hello @farazaliasif786 welcome. Your code is fine and it passes all the tests. Can you share with us problem in detail or share a screenshot? Then we’ll be able to help you.

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