What should i do to fix this


#1

for(var i=0; i<=99; i+=4.5){console.log("Looping till 25")};

do{
console.log(" this do loop still are weird")
};

var n = for(var i=0; i<=100; i+= 10)
while(n = <=100){
console.log("console logged" +" "+ n)};


#2

@kealanclarke,

The Instructions:
To finish up and prove your loop mastery,
write three syntactically correct loops in the editor:
one for,
one while, and one do. Beware of infinite loops!

the for-loop:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for

the while-loop:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/while

the do-while-loop:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/do...while