// see the Hint button if you're not sure how to start
var number = 666;
for (i=1; i<number; 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)
}
}
make sure to change number to 101, since you use < in your loop condition, so the number itself is not included. you can make number 100, but then use <= in your condition
no, the instructions state:
Modify your FizzBuzz program so that it runs for 1 to 100
where did you see the more then 100? Yes, you can create the variable, but not for a value more then 100 (not in the exercise), that is for impressing your friends outside the exercise
"Modify your FizzBuzz program so that it runs for 1 to 100.
If you want to be really cool, replace 100 with a variable that you declare and set at the beginning of your program so you can easily impress your friends with FizzBuzz solutions for any number of your choosing"