Code Your Own Adventure - Ask the age field is not popping up?


#1


Makea game


confirm ("You are ready to start playing!")
var age = prompt ("What is your age?");
if(age<16) {
    console.log("Than we take no resposibility for you playing this game");}
    else {  
    console.log("Enjoy playing!"); }


#2

@sarahq23

The person must be under 13 to console.log this statement:

Also here

You must put a semicolon after this statement.