4/7 first move help

I am getting a error what did I do wrong here?
“Are you ready to play?”;
confirm(" I am ready to play!");
var age = prompt(“What’s your age”);
if(age < 13)
{
console.log(“You’re allowed to play but I take 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.’”);
“Suddenly, Bieber stops and says, ‘Who wants to race me?’”;
var useranswer = prompt "do you want to race bieber on stage;

This line

var useranswer = prompt "do you want to race bieber on stage;

should be

var useranswer = prompt ("do you want to race bieber on stage);

“Are you ready to play?”;
confirm(" I am ready to play!");
var age = prompt(“What’s your age”);
if(age < 13)
{
console.log(“You’re allowed to play but I take 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”);

:smiley:

I copied your code exactly from “console.log(Suddenly…)” and got a syntax error. What is it that you did right that I did not?

here’s my line of code.

confirm(“Do you understand and wish to follow through to the adventure ahead?”);
var age = prompt(“State your age”);
if(age < 13) {
console.log(“Play at your own risk, as I do not take responsibility for your actions.”)
}
else {
console.log(“Win at all cost! However, there is one rule; Don’t give up!”)
}
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”);

It should be someyhing like this
You see The Word userAnswer must me like this, and you have to write console.log Before the second sentence.

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?”)

somebody please help me coz i can’t see the problem wth the code:

You wrote

var useAnswer = prompt ("do you want to race Bieber on stage");

mmust be

var userAnswer = prompt ("do you want to race Bieber on stage");