Error in "First Move!" Can someone help me?


#1

I can't find my mistake, the console says: "SyntaxError: Unexpected token ." and the thing on the bottom:"Oops, try again. There was a problem with your syntax."

console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");
confirm("Are you ready?!");
var age = prompt("What's your age");
if (age < 13){
console.log("You're allowed to play but Pedro Co. takes no responsibility, ok?")}
else{
console.log("Let's Go!!")}
console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");
var userAnswer = .prompt("Do you want to race Bieber on stage?");

https://www.codecademy.com/en/courses/javascript-beginner-en-x9DnD/0/4?curriculum_id=506324b3a7dffd00020bf661

Thanks for the help


#2

That .prompt looks funny


#3

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