6. Solo Flight


Can someone tell me what's wrong with my code?

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



What does it do differently from what you want?
What would you need to know to figure out what it's doing wrong? Perhaps that's something you can add a bit of code to find out?


hi, you forgot one quote. Good luck!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.