What´s wrong with my code? #5


#1

I´m stucked. My code looks like:

var count = 0;
var loop = function()
{
while(count < 3)
{
console.log ("I´m looping!");
count ++;
}
};
loop()

But I always get the Error: "Oops, try again. It looks like you're not printing the right string to the console." I don´t understand where my mistake is. Can somebody help me, please?
Thanks a lot.


#2

try copying and pasting the exact string that the exercise tells you to print


#3

Thank you. It worked.


#4

@mellathomas, accept the answer as correct to close the thread


#5

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