Learn how the CSS@keyframes and animation properties work?

Tell us what’s happening: i want to know whats wrong. i even watched the video to verify but its not accepting.

Your code so far

div {
  height: 40px;
  width: 70%;
  background: black;
  margin: 50px auto;
  border-radius: 5px;

#rect {
animation-name: raindow;
animation-duration: 4s;

@keyframes raindow {
0% {
  background-color: blue;
50% { 
background-color: green;
100% {
background-color: yellow;
<div id="rect"></div>

Your browser information:

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

Challenge: Learn How the CSS @keyframes and animation Properties Work

Link to the challenge:

Hello there.

Do you have a question?

If so, please edit your post to include it in the Tell us what’s happening section.

The more information you give us, the more likely we are to be able to help.

what do the failing tests say?

The element with id of


should have an


property with a value of rainbow. The


rule should use the


of rainbow. // tests completed

and what’s the animation-name of your #rect element?

the animation name given to #rect is rainbow

thank you,
I found my mistake!
I misspelled the word rainbow!