The good/Fizzbuzz help


#1

I am really confused. Can anybody help me? This is what I have and it returns TypeError: window.__runner is undefined

for (var i = 1; i <= 20; i++) {

if (i % 3 === 0 && i % 5 === 0) {
    console.log("FizzBuzz");
}

else if (i % 5 === 0) {
    console.log("Buzz");
}
else if (i % 3 === 0) {
    console.log("Fizz");
}
else {
    console.log(i);
}

}


#2

@blackcat4me,
Your code is ok...
maybe...

++++ reset of session *****************

under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser

and

Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).
CTRL 0 to reset browser zoom


The good/fizzbuzz!
#3

OH wow thank you so much! I was so frustrated because it looked fine! Thank you again kind sir!