-
-
Save codecademydev/bcdfdb2f9896d5746ce1c1964b6d622d to your computer and use it in GitHub Desktop.
Codecademy export
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Check if the user is ready to play! | |
var age = prompt("What's your age"); | |
if (age <13) { | |
console.log("You're not allowed to play this game. We take no responsibility"); | |
} | |
else { | |
console.log("Welcome. Enjoy our world") | |
} | |
confirm("I am ready to play!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment