6. Solo Flight - Constantly Breaking Browser


//Remember to make your condition true outside the loop!
var myCondition = true
var soloLoop = function(){
while(myCondition) {
console.log("Looped once!");
mycondition = false;
//Your code goes here!



What am I doing wrong?


HI you declare..

var myCondition = true

then you used it in the while condition


then when you set it to false you wrote

mycondition = false;

mycondition instead of myCondition