title: print numbers between 1- 20 using rules
body: <p>I am going through codeacademys JavaScript tutorials as i am new to it. The tutorial asks for the following: </p>
  
  <p>Print out the numbers from 1 - 20.
  <br/>The rules:
  <br/>- For numbers divisible by 3, print out "Fizz".
  <br/>- For numbers divisible by 5, print out "Buzz".
  <br/>- For numbers divisible by both 3 and 5, print out "FizzBuzz" in the console.
  <br/>- Otherwise, just print out the number.</p>
  
  <p>Here is my code: </p>
  
  <pre><code>for (i=1; i&lt;=20; i++) {
  
  if(i%3==0) {
      console.log("Fizz");
  } 
  if(i%5==0){
      console.log("Buzz");
  }else if (i%5==0 &amp;&amp; i%3==0) {
      console.log("fizzBuzz");
  } else {
      console.log(i);
  }
  
  }
  </code></pre>
  
  <p>i am getting an error saying that i am printing out the wrong number of items, anyone know why that is?</p>