Did you log 'Looped once!' to the console?


var myCondition = true;

var soloLoop = function(){

      console.log("Looped once");
      var myCondition = false;


I don't get what I'm doing wrong. Isn't this right?


the exclamation mark (!) is missing in your case in looped once!


and this line causes a problem:

var myCondition = false;

given you use the var keyword, the variable is local, which cause a bit of a problem, leave out the var keyword on this line


Oh yep. That did the trick. Thanks