What is wrong with my code?


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!")
    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?")


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.


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