Please help me with my code


#1

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

Oops try again. There is an error in your syntax

i want that my programm work

Thanks for your help.

// Check if the user is ready to play!
confirm("Bist du bereit? Wenn ja bitte klicken Sie auf OK");
age = prompt("Wie alt bist du ?");

if (age > 13){
    console.log("Viel spass beim spielen :) ");
}

else {
    console.log("spielen auf eigene Gefahr. LOL Inc haftet nicht für jegliche psyhische Schäden.Viel spass beim spielen" )
}
story = "You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'")

story2 = "Suddenly, Bieber stops and says, 'Who wants to race me?'"

console.log(story)
console.log(story2)
userAnswer = prompt("Do you want to race Bieber on stage?");

#2

You have an unneeded parentheses. )
:slightly_smiling:


#4

ah yes thanks i understand your answer,its working now.