Error with console.log?


#1

I can't tell if there's anything wrong with this.

console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");

it keeps on telling me that I need to console.log this, but I already did.


#2

can you post the line before and after this console.log, because i don't see any issues with this line.
console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'");


#3

Reset your code over, and it should work or wait some time @abbeythepotato


#4

I'm having the some problem


#5

@vitorneves and @abbeythepotato Pls post the whole code so i can rearrange it. Thankyou!


#6

Here's the whole code:
confirm ("I am ready to play!");
var age = prompt("What's your age");
if(age < 13)
{
console.log("Welcome");
}
else
{
console.log("Play, but at your own expense!");
}
console.log("You are at a Justin Bieber concert, and you hear this lyric 'Lace my shoes off, start racing.'");
console.log("Do you want to race Bieber on stage?");
console.log("Suddenly,Bieber stops and says,'Who wants to race me?'");
var userAnswer = prompt("Do you want to race Bieber on stage?");

@amanuel2


#7

@amanuel2, i already fixed the problem.
Thanks