<html>
<head>
<title>Execise 1.4</title>
<script src="script.js"></script>
</head>
<body>
<div id='dataful' data-x="5">Exercise 1.4</div>
</body>
</html>
$('document').ready(function() {
//get the div.
//do not add var before this object for testing purposes!!
$datafulDiv = $('#dataful')
//get the value stored at 'x'
$datafulDiv.data('x');
//double it and store it at 'y'. again do not use var!
$datafulDiv.data('y',$datafulDiv.data('x')*2);
});