<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>
<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/javascript-beginner-en-x9DnD/0/6?curriculum_id=506324b3a7dffd00020bf661
<Below this line, in what way does your code behave incorrectly? Include ALL error messages.>
I passed everything nicely but chrome asks all my prompts and questions before printing anything to console. Is this just a chrome issue?
// Check if the user is ready to play!
confirm(“I am ready to play!”)
var age = prompt(“What’s your age?”);
if (age < 13) {
console.log(“We take no responsibility for any damage that may occur”)
}
else {
console.log(“Let’s get started!”);
}
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 {
console.log(“Oh no! Bieber shakes his head and sings ‘I set a pace, so I can race without pacing.’”)
}
var feedback = prompt(“Rate this game 0 - 10”)
if (feedback > 8) {
console.log(“Thank you! We should race at the next concert!”)
}
else {
console.log(“I’ll keep practicing coding and racing.”)
}
<do not remove the three backticks above>