Can't find why I get an Error message!


#1


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

Oops, try again. Do you want to race Bieber on stage?

// Check if the user is ready to play!
confirm("I'm Ready to Play!")
var age = prompt("How Old are You??")

if(age < 13) {
console.log("You're allowed to Continue on to Play at You're Own Discrection!"); }

else {
console.log("You're Good to 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?!")
if(userAnswer === "yes") {
    console.log("You and Bieber start racing. It's neck and neck! You win by a shoelace!");
}


#2

Check your question. Make sure it matches the one in the instructions:


#3

Wow... Thank You! I would've been stuck forever lol Don't I feel stupid now ! But should make things a whole lot easier from here on in, that same thing happened to me at the first of the tutorial
:expressionless:


#4

Don't feel bad, everyone taking this course runs into the same types of issues :slight_smile:


#5

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