Problems in part 6/7?


#1

Does anybody else have a problem with the code to 6/7?
It works fin at 5/7, but when I add the feedback part I get: SyntaxError: Unexpected token ILLEGAL
And the script won't run the part up to 5/7 anymore.

My script for 6/7:

// Check if the user is ready to play!
confirm("Are you ready for an adventure?");
var age = prompt("What's your age");
if( age <= 13)
{
console.log("Ask your mama, son");
}
else
{
console.log("Welcome - Prepare to die");
}
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 Bierber 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.'");
}
var feedback = prompt("Rate game from 1 to 10");
if( feedback < 8)
{
console.log("Thank you! We should race at the next concert!");
}
else
{
console.log("I'll keep practicing coding and racing.");
}

I have restarted chroma and the browser and tried another browser, but still the same error.
Does somebody see a mistake, or are people having the same issues?

B,


#2

This is the only error that jumps out:

var userAnswer = prompt("Do you want to race Bieber on stage?);
//                                                           ^
//                                                   missing "

#5