Is this a bug? Intro to Objects


The error message makes no sense. I've checked my code at least a dozen times, and all it does is give me the weird error message listed below. If this is a bug, please fix it.

"Oops, try again. You printed Fizzbuzz when you should have printed Fizzbuzz."

for(i = 1; i < 21; i++){
        } else {
    } else if((i%5)===0){
    } else {


Shouldn't you print FizzBuzz? With a capital B?


Yeah, haaahaha just found that out on another forum post. Thanks anyway! :slight_smile:


also you have a lot of unnecessary semicolons. You don't need to put them after braces, since the interpreter already understands an end of code when it sees a curly brace. a debugger would give you so many warnings with those semicolons.