---
id: 587d78a8367417b2b2512ae3
title: Animate Elements Continually Using an Infinite Animation Count
challengeType: 0
videoUrl: 'https://scrimba.com/c/cVJDVfq'
---
## Description
The previous challenges covered how to use some of the animation properties and the @keyframes
rule. Another animation property is the animation-iteration-count
, which allows you to control how many times you would like to loop through the animation. Here's an example:
animation-iteration-count: 3;
In this case the animation will stop after running 3 times, but it's possible to make the animation run continuously by setting that value to infinite.
## Instructions
To keep the ball bouncing on the right on a continuous loop, change the animation-iteration-count
property to infinite.
## Tests
```yml
tests:
- text: The animation-iteration-count
property should have a value of infinite.
testString: assert($('#ball').css('animation-iteration-count') == 'infinite', 'The animation-iteration-count
property should have a value of infinite.');
```
## Challenge Seed
## Solution
```js
// solution required
```