3 messages problem!


I am having trouble with lesson 5 practice makes perfect. Can anyone please help me?


The error message says "Oops, try again. It looks like you're not printing the right string to the console."

 //Remember to set your condition outside the loop!
var count = 0;

var loop = function(){
	while( count < 3 ){
		//Your code goes here!
		console.log("I'm looping " + count );


In the result box next to the code it comes up with this:
I'm looping 0
I'm looping 1
I'm looping 2



Write a while loop that logs "I'm looping!"

so you have to print just I'm looping! but you are printing something extra


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