Help on 4


This is my code :
confirm("I'm ready to play this awesome game!!!!");
var age = prompt("what's your age");
if(age < 13)
{ console.log("you're allowed to play but I hold no responsibility");}
else{console.log("PLAY ON");
console.log"You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'";
console.log"Suddenly, Bieber stops and says, who wants to race me?";
Var userAnswer = prompt "Do you want to race Bieber on stage?";
and it says stynax error expected ';' If anyone can help me thay would be greatly appreciated.


Hi, all console.log() function needs parentheses. and same situation is valid last prompt() function.


okay thank you I will try this out