diff --git a/guide/english/jquery/jquery-animate/index.md b/guide/english/jquery/jquery-animate/index.md index 47b3a20e7a..11fed650af 100644 --- a/guide/english/jquery/jquery-animate/index.md +++ b/guide/english/jquery/jquery-animate/index.md @@ -2,12 +2,12 @@ title: jQuery Animate --- ## jQuery Animate -jQuery's animate method makes it easy to create simple animations, using only a few lines of code. The basic structure is as following: +jQuery's animate method makes it easy to create simple animations using only a few lines of code. The basic structure is as following: ```javascript $(".selector").animate(properties, duration, callbackFunction()); ``` -For the `properties` argument you need to pass a javascript object, with the CSS properties you want to animate as keys, and the values you want to animate to as values. -For the `duration` you need to input the amount of time in milliseconds the animation should take. +For the `properties` argument, you need to pass a javascript object with the CSS properties you want to animate as keys and the values you want to animate to as values. +For the `duration`, you need to input the amount of time in milliseconds the animation should take. The `callbackFunction()` is executed once the animation has finished. ### Example @@ -23,4 +23,4 @@ $(".awesome-animation").animate({ #### More Information: -For more information, please visit the [official website](http://api.jquery.com/animate/) \ No newline at end of file +For more information, please visit the [official website](http://api.jquery.com/animate/)