#11 Review JS - HELP


#1

Hello, we're supposed to write a for, while, and do loop. What's wrong with my code?
Thanks!

for (var i = 1; i < 10; i++){
console.log(i);
}

var count = 0;
while(count < 10) {
console.log("Keep Countin'!");
count++;
count=false;
};

var count = 0
do {
console.log("I'm printed once!");
count++;
} while(count < 1);


#2

This line may be removed. It is overwriting your counting variable.


#3

Great! Thank you. It worked! :slightly_smiling: