Oops, try again. Make sure you're only logging `Looped once!` to the console once


#1

why do i get that error
my code is
//Remember to make your condition true outside the loop!
var condicion = true;
var soloLoop = function(){
//Your code goes here!
while(condicion){
console.log("Looped once!");
console.log(condicion)
condicion = false;
}
};

soloLoop();
please help me


#2

Take out this:

You're printing "true" too.


#3

Hello
you need to add ; after console.log(condicion) and you should not print this.


#4

i remove it but i still get that error


#5

I think it would be easier if you show your code, but if you did it as I have told you, I don't see a problem. :confused: