The jQuery does the work of animation. Using jQuery, we are changing the div's position on hovering the image. The jQuery gives the animation effect while changing its position using animate method. We have used notepad as an editor for this code. You can use this code in any other editor as well. To use this code in notepad you have to add jQuery reference as added above in the code. You should have internet access while running this code, to download and use jQuery file mentioned in reference.