Lesson #6 feed back


#1

// Check if the user is ready to play!

confirm("are you ready");
var age = prompt("what's your age");
var myName = prompt("what's your name")
var gender = prompt("what gender are you")
if (age < 13){
confirm("you're too young to play this");
console.log("if you continue to play, our company takes no responsiblity for the experience you may have");
}
else {
console.log("you may stay and enjoy the rest of the party");
}

console.log("one day there was a person living in the woods");
console.log("their name was " + myName + ".")
console.log("one day " + myName + " was with their friends in a mall downtown")
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'")
console.log("one of them asks " + myName + ".")
console.log("Why the ■■■■ am I at a justin bieber concert? " + myName + " asks sternly")
console.log("just go with the story one of" + myName + "'s friend says")
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!")
console.log("what in the world???")
}
if (userAnswer === "no") {
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'")
console.log("why am i at a justin bieber concert man")
}
else {
console.log("dude answer the question");
userAnswer
}
var feedback = prompt("rate please");
if (feeback > 8){
console.log("thank you! we should race at the next concert");
}
else {
console.log("I'll keep practicing coding and racing");
}

what am i doing wrong cause it's not running for me


#2

@designblaster12784,

Have a close look at

feeback


#3

no he is good All he need's is on
if (feedback > 8){
is to put ("")