Part 5, I cannot see the problem with my statement


#1

// Check if the user is ready to play!
confirm("I am ready to play");

prompt("What's your age")

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

if (userAnswer === "yes")
{
console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!");
}
else
{
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");
}


#2

Maybe you forgot to add your previous code?
This part:

if (age < 13){
    console.log("statement here");
    }
    
else{
    console.log(" another statement here");
    }

BUT before adding the block of codes above, declare first the variable age that will holds your prompt question. like this:

var age = prompt("Whats your age?");

Under var age = prompt("Whats your age?"); you can now add the block of codes above.