Learn CSS Transforms by Building a Penguin - Step 96

i keep getting an error message which states that… I should add a 20% waypoint for @keyframes wave .

Your code so far
and this is my code so far;
@keyframes wave {
10% {top: 0px};
}
I don’t actually know what am doing wrong.
N/B: the code above is what I saw on already answered questions, I didn’t understand it either but I typed it and passed the 10% instruction which is now displaying the comment on my first paragraph.
I will be glad if any help come through

WARNING

The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.

You will need to take an additional step here so the code you wrote presents in an easy to read format.

Please copy/paste all the editor code showing in the challenge from where you just linked.

Replace these two sentences with your copied code.
Please leave the ``` line above and the ``` line below,
because they allow your code to properly format in the post.

Your browser information:

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

Challenge: Learn CSS Transforms by Building a Penguin - Step 96

Link to the challenge:

@keyframes wave {

10% {top: 0px};

20% {right: 200px};

}

the above is my code but am getting an error message

You should have four waypoints, according to the instructions:

@keyframes name {
  X% {

  }
  Y% {

  }
  Z% {

  } etc....

}

This is guidance.

Restart step,

Read the instruction again: " Give wave four waypoints starting at 10% , and incrementing by 10% ."

1 Like

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