title: Using a cookie to store and get an integer
body: <p>A user starts off with 0.00 and after every click of an image, they earn an additional +0.05. </p>
  
  <p>So I have</p>
  
  <pre><code>$(document).ready(function(){
     $("#image1").one("click",function(){
     //
  }
  </code></pre>
  
  <p>How can I create a cookie that stores the 0.00 on first page load and then adds 0.05 after every click of the image? The page is required to be refreshed after each click so it needs to be stored, I suppose.</p>