Use CSS Animation to Change the Hover State of a Button help

Tell us what’s happening:
hello where did I miss this challenge? please help

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;
  }
   @keyframes backgraound-color {
  100% {
    background-color: #4791d0;
    }
   }
</style>
  
<button>Register</button>

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.84 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/use-css-animation-to-change-the-hover-state-of-a-button/

1 Like

You’ve got a spelling error.

1 Like

thank you got it and solve

1 Like