Created
October 30, 2012 01:04
-
-
Save tpowell/3977703 to your computer and use it in GitHub Desktop.
Quiz 2 - Ex 1
This file contains hidden or 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 myName, myAge, likeDogs; | |
myName = "Joe P. Somolovich"; | |
myAge = 31; | |
likeDogs = true; | |
document.write("Hi my name is " + myName); | |
document.write(" and I am " + myAge + " years old."); | |
if (likeDogs) | |
document.write("I like dogs."); | |
else | |
document.write("I don't like dogs."); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment