Fill Mode of an Animation

Tell us what’s happening:
Please I need help. I can’t move to the next challenge despite being sure I have correctly executed this challenge. Seems something is wrong with my solution.

Your code so far


<style>
  button {
    border-radius: 5px;
    color: white;
    background-color: #0F5897;
    padding: 5px 10px 8px 10px;
  }
  button:hover {
    animation-name: background-color;
    animation-duration: 500ms;
    /* add your code below this line */
    animation-fill-mode: fowards;
    /* add your code above this line */
  }
  @keyframes background-color {
    100% {
      background-color: #4791d0;
    }
  }
</style>
<button>Register</button>

Your browser information:

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

it’s forwards not fowards.

1 Like

It just so happens that you typed “fowards” instead of “forwards”. Maybe fix that?

Thank you so much. That little typo got me tripping:sweat:

Than you so much. Fixed that.

You can mark a post as the solution if it fixes it :wink: