Last active
August 29, 2015 14:26
-
-
Save mxhold/416c105e87f44c1ba874 to your computer and use it in GitHub Desktop.
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
if(pointsRight === 5){ | |
console.log("<p><p><h1><color="green">Congratulations! You got them all right! You've won the gold crown! Aren't you smart?</p>"); | |
} else if(pointsRight === 4 || pointsRight === 3){ | |
console.log("<p>Congratulations! You got " + pointsRight " right! Here's a silver crown!"</p>); | |
} else if(pointsRight === 2 || pointsRight === 1){ | |
console.log("<p>Congratulations! You got " + pointsRight " right! Here's a bronze crown!"</p>); | |
else{ | |
console.log(<p>"Congratulations! You got " + pointsRight " right and " + pointsWrong " wrong here's your nega-crown.</p>"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment