Change Animation Timing with Keywords

Change Animation Timing with Keywords
0

#1

Tell us what’s happening:
Why still i get the error? i have set whatever they said. still i got this —>
“The value of the animation-timing-function property for the element with the id ball1 should be linear.
The value of the animation-timing-function property for the element with the id ball2 should be ease-out.”

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-timimg-function: linear;
  }
  #ball2 { 
    left:56%;
    animation-timimg-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/67.0.3396.99 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/change-animation-timing-with-keywords


#2

You have a spelling mistake in the word timing, double check what you wrote…


#3

Thanks a lot . :slight_smile: