Created
February 2, 2016 15:21
-
-
Save anonymous/b13545318311024c0d36 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/cexeka
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>JS Bin</title> | |
</head> | |
<body> | |
<script id="jsbin-javascript"> | |
var pizzaForLunch = true; // boolean data type! true or false, that's it | |
var tacosForLunch = true; | |
if (pizzaForLunch) { | |
console.log("I am happy!"); | |
} else if (tacosForLunch) { | |
console.log("yay!"); | |
} else { | |
console.log("nooo") | |
} | |
</script> | |
<script id="jsbin-source-javascript" type="text/javascript">var pizzaForLunch = true; // boolean data type! true or false, that's it | |
var tacosForLunch = true; | |
if (pizzaForLunch) { | |
console.log("I am happy!"); | |
} else if (tacosForLunch) { | |
console.log("yay!"); | |
} else { | |
console.log("nooo") | |
} | |
</script></body> | |
</html> |
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
var pizzaForLunch = true; // boolean data type! true or false, that's it | |
var tacosForLunch = true; | |
if (pizzaForLunch) { | |
console.log("I am happy!"); | |
} else if (tacosForLunch) { | |
console.log("yay!"); | |
} else { | |
console.log("nooo") | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment