Q part 2, Old enough to play? Kindly someone tell me what is wrong with my code, thankyou



SyntaxError: missing ) after condition

Replace this line with your code. 

// Check if the user is ready to play!
confirm("ready to start?")
var myAge = "age"
var age = prompt("what is your age?");
if(age is less than 13) {
    console.log("play but take responsibility");
    console.log("play on");   


if(age is less than 13)// wrong // instead of write if(age < 13)

Less than operator (<)

check it


Thank you for your timely reply. Does it mean the computer only understands the symbols only. Then I would like to upgrade to Code Pro but I am unsure of the security of my card numbers. Do you have an office in Kenya.


Thanks, it worked. I have appreciated