Are you old enough


#1

i dont understand how to do this code so please can you help me.


#2

this should help you,

// Check if the user is ready to play!
confirm("are you ready to play");
var age = prompt("What is you age");
if(age < 13)
{
console.log("you can play but we take no responsibility.")
}else{

console.log("let's play")

}

take time to fully understand it.