// add js library
<script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js”></script>

<script>
function changeBg(){
$(“body”).css(“background-color”,”blue”);
}
</script>

<body>

<div onclick=”changeBg()”>Click</div>
</body>
</html>