What is wrong with my code?


#1


First Move!


Oops, try again. Did you remember to console.log("Suddenly, Bieber stops and says, 'Who wants to race me?'"); ?


confirm("Are you sure you're ready to play?")
var age = prompt("What's your age?")
if(age < 13)
{
    console.log("Horrors Ahead!, you are too young!")
}
else
{
    console.log("Great go on ahead!")
}
console.log("You are a 20 something journalist on your first case, the Arkham Asylum. You hear soft moans as you approach the gate.")
console.log("The gates squeak open with an earsplittingly rusty sound.")
var userAnswer = confirm("Do you press on?")


#2

The way codecademy works a lot of the time, is it checks to see if you printed that string EXACTLY. Usually in the end of the lesson it will let you change the code and play with it how you want.


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.