JSFiddle - React, Tailwind, and code Playground
HTML
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Coverflow13</title>
<style type="text/css" media="screen">
#square {
width: 40px;
height: 60px;
margin-left: 20px;
background: red;
}
</style>
</head>
<body>
<input type="button" value="(wrong) Move the red square" onclick="jQuery('#square').animate({marginLeft: '=0'}, 500);" />
<input type="button" value="(correct) Move the red square" onclick="jQuery('#square').animate({marginLeft: '0'}, 500);" />
<div id="square">
</div>
</body>
</html>