Number 11


#1

for(var i=5; i<=50; i+5) {
console.log(i);
}

var sexy=true;
while(sexy) {
console.log("I am sexy");
condition=false;
}

var love=false;
do {
console.log("Whatever");
} while(love);

my screen keeps crashing after i hit submit, i literally have no idea what im doing wrong, thanks for the help!


#2

var sexy=true;
while(sexy) {
console.log("I am sexy");
condition=false;
}

You use sexy as the condition, but you updated it as condition. Just swap condition with sexy and that'll work.

for(var i=5; i<=50; i+5) { //This Line
console.log(i);
}

You need to put i += 5 instead of i+5. :slightly_smiling: