title: Subtract 1 from var with a value of 100 each time you resize your browser smaller then 1600x1020
body: <p>Is it possible to subtract 1 each time I were to resize my browser smaller then 1600x1020?</p>
  
  <p>I know i need to start with a resize function but how do I go about store the new value where I can use in a new function?</p>
  
  <pre><code> var resizeNum = 100;
   if (window.width() &lt; 1600 &amp;&amp; width.height()){
     resizeNum - 1
    }
  </code></pre>
  
  <p>Not sure how to go about this.</p>