I am not undestood the instruction clearly


#1

where shoud i add some story , in the first or in the last line ?
Print the introduction using console.log. Remember that the introduction is a string, so make sure to keep it between quotes.

confirm("i am playing")
;
var age = prompt("what is your age");
if(age.length==13){
console.log("they're allowed to play but you take no responsibility.") ;

 }
   else {
       console.log("play on") ;
     }

#2

// Check if the user is ready to play!
confirm("Are you ready tp play?");

var age = prompt("What's your age?");
if (age < 13){
    console.log("You are allowed to play but you take no responsibility!");
}
else{
   console.log("You can plqy!"); 
}

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

@betasolver43576, when you are posting code please enter a conbination ctrl+shift+c and put there your code. It's very hard to read.

Instruction says:

Under all your previous code, print out the following introduction, exactly as it is written.

So, under all your code = after if-else statement (last line).


#3

This topic was automatically closed after 7 days. New replies are no longer allowed.