And The Good...syntax error?


#1

for (x = 1; x <= 20; x++) {
    
    if (x % 3 === 0 && x % 5 === 0) {
        console.log("FizzBuzz");
    } 
    if else (x % 3 === 0) {
        console.log("Fizz");
    }
    if else (x % 5 === 0) {
        console.log("Buzz");
    } 
    else {
        console.log(x);
    };
};
    Getting a syntax error with this code..."expected (" can anyone help I'm not seeing it...


#2

Should be

else if

#3

Oh wow....thanks I was looking for a "("