Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

code challenge full page css animation part 2 the code editor is telling me to check my animation name is correct this

the code editor is telling me to check my animation name my css looks like this

.body {
  -webkit-animation: bg-move 8s infinite;
}

what's wrong with it please I can't see it at all

1 Answer

The last keyframe of the animation has to stay after the animation is done, so you don't want the animation to repeat infinitely.

Replace infinite with forwards.

thanks for that, but it didn't work. it's still telling me to check my animation name is correct

Oh, I just noticed, you don't need . in front of body. That's a type selector, not a class selector.

mint - that worked thanks