Are you old enough


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


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.")

console.log("let's play")


take time to fully understand it.