Adding Some Story


#1

// Check if the user is ready to play!
confirm("i am ready to play")
console.log = prompt("what is your age");
if(age is < 13)
{
//do this code
}
else // "otherwise'
{
//do this code
}

(is this wrong?)


#2

There is no "is" keyword in JavaScript.


#3

This code is good for me:

console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");

confirm("i am ready to play");

var age = prompt("What's your age");

if ("age"<13){
    console.log("you canĀ“t play");
}
else {
    console.log(" play ");
}