2. old enough to play?


#1

// Check if the user is ready to play!

confirm("Are you ready to play?");

var age = prompt("What’s Your Age?");

if(age < 13) {

console.log("You can play but I take no responsibility.");

} else {

console.log("You are Ready To play!");

}

cant figure out what is wrong???


#2

I took out the semi colons but it still doesn't work


#3

This should work(Your code worked for me). Try resetting your code. And paste your code.


#4

:grinning: I will try


#5

It still says the code doesn't look quite right????


#6

Ahh, this bug has been quite annoying i will flag it for the mods to take a look at it!


#7

Is that the only error you see? Is there anything in the right hand window?


#8

it says: Error: Unspecified error.


#9

That's not very helpful is it? :imp:

Try reloading/refreshing the web page.


#10

YAY it worked only the press of a button :grinning:


#11

Could you help me?

I had the same problem, what button did you press?