#4 justin bieber story


// Check if the user is ready to play!
confirm(“I understand confirm”);

var age = prompt(“What’s your age?”);

if (age < 13)
{ console.log(“Underaged, no responsibility will be taken”);
{ console.log(“Play on!”);

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?”);
is it just messing around as code academy does this


The code is perfect, so it’s probably a bug.


cheers :):):):):):)::):)::):):):):):)):):)::)):):)(:(::):):09:0;9:(:wink:


No problem, happy to help.


does it bug up a lot??? as it has happen to a friend


It happens more often now than it used to, but it normally isn’t much of a problem. You and your friend are just getting unlucky.

Try refreshing the page or using a different browser for a bit.


hey I need help on 1 Confirm do u think u could help code academy


Could you create a new topic for that instead of adding to this?



roy here you are
// Check if the user is ready to play!
confirm(“i understand confirm”)


You forgot the ’ in the question from Bieber I just got the error added that and it worked


Mine worked but I did not use

var userAnswer = prompt("Do you want to race Bieber on stage?);

I used

var userAnswer = “Do you want to race Bieber on stage?”;

Also I put all my variables at the top, but that won’t matter for this exercise I doubt.