5. Practice makes perfect


#1

Hello everyone, this is my code

//Remember to set your condition outside the loop!
var count = 0;
var loop = function(){
while(count<3){
console.log ("I am looping!")
count++
}
};

loop();

It just write me "Oops, try again.
It looks like you're not printing the right string to the console.
"
What's wrong ? Thank you :slight_smile:


#2

It's saying that you're not printing the right string. Do you agree with that? Or is it unclear what that string is supposed to be? (I'm not sure what you want help with)


#3

change I am looping! to I'm looping!
that's it


#4

:DDDDD.. Oh, Thank you really.. So bad error :smiley:


#5

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