title: Loop Attribute number increasing the value by 5 each time
body: <p>I would like to add an attribute to the <code>div</code> below. However I want each value to increase by <code>5</code>. For some reason when I try the code below, it repeats the number rather than increasing it by <code>5</code>.</p>
  
  <pre><code>&lt;div class="yo"&gt;TOOTO&lt;/div&gt;
  &lt;div class="yo"&gt;TOOTO&lt;/div&gt;
  &lt;div class="yo"&gt;TOOTO&lt;/div&gt;
  &lt;div class="yo"&gt;TOOTO&lt;/div&gt;
  </code></pre>
  
  <pre class="lang-js prettyprint-override"><code>var text = "";
  var i = 0.7;
  while (i &lt; 80) {
      $('.yo').attr('wow', i)
      i += 5
  }
  </code></pre>