Solo flight


I'm not sure why my code won't work.
It ends up with an error message "Did you log 'Looped once!' to the console?".
I think I put the right sentence as below.

I need your help. Thanks

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




you are giving the number in the function

" var soloLoop = function(number) " <- This is wrong

remove "number" from the function


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