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.