What i'm doing wrong?


#1

// Check if the user is ready to play!
confirm("i'm ready to go!");

var age = prompt("what is your age?");

if (age<13) {
controle.log("you can play but i'm not reponsable ");
} else {
controle.log("lets go play!!!");
}

thank you


#2

controle.log("you can play but i'm not reponsable ");

&

controle.log("lets go play!!!");

I believe for JavaScript that it's "console.log" not "controle.log". I hope this helps!


#3

hahahahha yes it is thank you