title: For loop and append
body: <p>I'm making my first web project in JavaScript. I don't know how to use for loop properly. I'm trying to get this result:</p>
  
  <pre><code>text
  text
  text
  text
  </code></pre>
  
  <p>But I get this:</p>
  
  <pre><code>text
  </code></pre>
  
  <p>And that's the code:</p>
  
  <pre><code>for (i = 0; i &lt;= 5; 1++) {
  $("#sth").append("text" + "&lt;br&gt;");
  }
  </code></pre>
  
  <p>Fiddle link: <a href="http://jsfiddle.net/6K7Ja/" rel="nofollow">http://jsfiddle.net/6K7Ja/</a></p>
  
  <p>I just started learning JavaScript. Help will be greatly appreciated :)</p>