Update Task2.html

Using animation instead of transition !