I have been looking for similar problems but they all seem to have one mistake with ";" but I can't find mine. I have been looking for a while now. Help would be much appreciated.
<script>
var Input= prompt();
var Counter = 0;
for (Counter<Input;Counter++;)
{
if ((Counter%5===0)&&Counter%3===0)
{console.log('Fizzbuzz');
}
elseif((Counter%5)===0)
{console.log('Buzz'); C
}
elseif((Counter%3)===0)
{console.log('Fizz');
}
else {
console.log(Counter);
};
};
</script>