Lesson #6 ( give you game a rating ) Stuck


#1

Tried over and over to find the error , very frustrating.. any clues? Thanks!

confirm("I am ready to play, ARE YOU!!!!!!!!!!!!!")
var age = prompt( "whats you age");
if(age<13){console.log("You are allowed to play but we take no responsibility")}
else{console.log("Play on!! You got this!!")}
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{"Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'";}
var feedback = ( "Rate my game 1-10!")
if ( feedback >8){console.log("Thank you! We should race at the next


#2

Hi try to add a else statement to your if statement for the feedback
And you should close your console.log()


#3

Hey, thanks, my copy and paste went a little wrong but I figured it out with your tip!!.