Use CSS Animation to Change the Hover State of a Button not passed

Tell us what’s happening:

Your code so far

  button {
    border-radius: 5px;
    color: white;
    background-color: #0F5897;
    padding: 5px 10px 8px 10px;
  button:hover {
    animation-name: background-color;
    animation-duration: 500ms;

  @keyframes background-color {
    100% {
      background-color : #4791d0;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0.

Link to the challenge:

Typical syntax for CSS property/values pairs is to write propertyName: propertyValue;

You have a space between the property name and the colon. The FCC tests are not expecting to see that.

1 Like

Yeah, thank you very much.