$(document).ready(function(){
//your code here
$('#moveMe').click(function(){
$this = $(this);
$this.animate({top:'+=100'}).delay(1000).animate({left:'+=100'});
});
});
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="script.js"></script>
</head>
<body>
<div id="moveMe"></div>
</body>
</html>
#moveMe{
width: 50px;
height: 50px;
background-color: blue;
position: relative;
}