The value of the animation-timing-function property for the element with the id ball1 should be the linear-equivalent cubic-bezier function

Tell us what’s happening:
Describe your issue in detail here.
I put same as described, even copyed it and pasted and it wont work, can anyone help me, thanks

  **Your code so far**

<style>

.balls{
  border-radius: 50%;
  background: linear-gradient(
    35deg,
    #ccffff,
    #ffcccc
  );
  position: fixed;
  width: 50px;
  height: 50px;
  margin-top: 50px;
  animation-name: bounce;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
#ball1 {
  left: 27%;
  animation-timing-function: animation-timing-function: cubic-bezier(0.25, 0.25, 0.75, 0.75); 
}
#ball2 {
  left: 56%;
animation-timing-function: ease-out;
}

@keyframes bounce {
  0% {
    top: 0px;
  }
  100% {
    top: 249px;
  }
}

</style>

<div class="balls" id="ball1"></div>
<div class="balls" 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.82 Safari/537.36

Challenge: Learn How Bezier Curves Work

Link to the challenge:

Hi @filip1 !

The issue is here

You copy and pasted it incorrectly and added the same thing twice.

When you fix that, then the test will pass.

1 Like

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