title: why does it skip and continue even if the first if statement is true
body: <p>As you can immidiately see this is a for loop with some if conditionals right here( is that what you say "if conditionals" ???).
  I HAVE 2 QUESTIONS ACTUALLY.</p>
  
  <p>I am working on CodeAcademy, and it has asked me to do this:</p>
  
  <pre><code>Print out the numbers from 1 - 20.
  The rules:
  For numbers divisible by 3, print out "Fizz".
  For numbers divisible by 5, print out "Buzz".
  For numbers divisible by both 3 and 5, print out "FizzBuzz" in the console.
  Otherwise, just print out the number.**
  </code></pre>
  
  <p>This is what I have done so far and I do think it's working correct and is in general correct and everything, but CodeAcademy doesn't say it is. I would like to hear if someone knows if there is something wrong with my code, or if this is only a different way to do the exact thing they are requesting(referring to the rules above).</p>
  
  <p>Also the second question, this is more the curious question of mine. If we take 15 as an example for now. How does JavaScript think when it encounters 15. 
  If 15 is dividable by 3 and has 0 left, shouldn't it console.log("Fizz"), instead of going all the way down to the almost last bottom code and console.log("FizzBuzz"); 
  Can someone explain this to me, pleeaassee :)</p>
  
  <pre><code> for (var iterator = 1; iterator &lt;= 20; iterator = iterator + 1) {
          if (iterator % 3 === 0) {
              console.log("Fizz");
  
          } else if (iterator % 5 === 0) {
              console.log("Buzz");
  
          } else if (iterator % 3 === 0) {
              if (iterator % 5 === 0) {
                  console.log("FizzBuzz");
              }
          } else {
              console.log(iterator);
          }
  
      }
  </code></pre>