Hello help on 6


hello help it keeps saying
Did you declare a variable called feedback?
hear is my code
confirm("I understand confirm!");
var age = prompt("What's your age");
if(age < 13)
console.log("Allowed to play but they take no responsibility!");
console.log("Lets get started! You're older than 12!");
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;
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 {
console.log("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'");


You can remove the line where you create the variable userAnswer but never equal it to anything.

In the 6th exercise, you need to add a feedback prompt that lets the user rate your game. Follow what the lesson says and you should be able to move on to the next lesson! :slightly_smiling:

If you need help with anything, let me know!


thank you
don't read this this is just random stuff to have 20 words