5.The story heats up!


#1

confirm(" I understand confirm!")
var age = prompt(" what's your age ?");
if ( age < 13 )
{
console.log("You are allowed but i take no responsibility");
}
else
{
console.log(" Go have fun !!")
}

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 Answer = prompt(" Do you want to race Bieber on stage? ");
if ( Anwer === "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.'")
}
someone can help me ? plz


#2

@pywhiz29476,

Have a close look at

Anwer

===============================

Note:
Variable name should start with a lower-case character...
If you have longer variable-names we use the so-called camelCase writing
like
carFactoryEntranceSecurityMeasures