In the lessons of the syllabus it told me to do it like this:
background-color: #4791d0;
animation-name: background-color;
animation-duration: 1s;
But it wasn’t working when I added it to my project so I checked the code from the one I’m meant to be replicating (created by FCC) and they typed it like this:
background-color: orange;
transition: background-color 1s;
Can someone tell me what’s wrong with the first version? (Just to clarify: the color does change to the one I want, it’s just the animation duration that’s not working)