5. The Story heats ups-- order that pop-ups appear


Hi All here is a link to the exercise...

All of the pop-ups in the code come up before the console logs ( even if the prompt or confirm code is written after the the console.log codes). Is that supposed to happen? If not, What am I doing wrong?

confirm ("I am ready to play!");

var age = prompt("What's your age?");

if (age < 13) {
    console.log (confirm("You are allowed to play but I will take no responsibility!"));
else {
    console.log ( confirm("Awesome! Lets go!") );

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 (confirm("You and Bieber start racing. It's neck and neck! You win by a shoelace!"));
else {
    console.log ( confirm("Oh no! Bieber shakes his head and sings 'I set a pace, so I can race without pacing.'") );


You should only have 1 confirm in your code, at the very beginning. Other than that one there shouldn't be any others. please get rid of all confirms and the extra parentheses that go with it.