I think the whole lesson is wack

Tell us what’s happening:
Describe your issue in detail here.
I did everything right but seem the test code is not respodong right.
Your code so far

.ball {
  width: 40px;
  height: 40px;
  margin: 50 auto;
  position: fixed;
  background: linear-gradient(
  border-radius: 50%;
#ball1 {
  left: 20%;
#ball2 {
  left: 65%;
  transform : scale(1.5);



<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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.82 Safari/537.36

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

Link to the challenge:

If I remove the space after the “transform”, your code passs for me.

Not sure why you are putting a space after the property name, but that really isn’t the proper formatting.

I’m guessing a lot of the tests that are using a regex will fail when you do that so now would be as good as time as any to stop adding that space.

Just to be clear, it isn’t invalid code and should technically be passing.

1 Like

The browser is much more forgiving when executing code - unlike programming languages, which execute the tests.

Yeah, in theory more forgiving tests could be written. But there are only so many hours in the day and there is only so much you can do - you can’t account for every possible variation. And this does have the accidental advantage of enforcing good formatting.

1 Like

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