Unexpectedtoken {


#1

Ok so for some reason I get an error saying there is an unexpected token {. Though I can't find where any odd { is. here is my code:

for(var i = 0; i < 21; i++){
if((i % 3 === 0 && i % 5 === 0){
console.log("FizzBuzz");
} else if (i % 3 === 0){
console.log("Fizz");
} else if(i % 5 === 0){
console.log("Buzz");
}
else {
console.log(i)
};
};


#2

It relates to the the extra ( parenthesis in the this line:

if((i % 3 === 0 && i % 5 === 0){
// ^ remove (