INcreasing score on click of div

by Chandana Thota

HTML

<!-- Increasing score on click of div -->

<div id="circle"> </div>
<div style="position:fixed;top:10px;right:60px;color:red;font-size:40px;">
<span>Score: </span>
<span id="score">0</span>
</div>

CSS

#circle{
   background-color:blue;
    height:50px;
    width:50px;
    border-radius:50px;
}

JavaScript

var score = 0;

$('#circle').click(function(){
		    score=score+10;
    $('#score').text(score);
});