Last active
December 16, 2015 05:38
-
-
Save zackseuberling/5385278 to your computer and use it in GitHub Desktop.
Introduction to Javascript
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
// variables | |
var int = 10; | |
var str = "ten"; | |
var boo = false; | |
var arr = ["one", 2, true]; | |
debugger; | |
// looping | |
for( var i = 0; i < int; i++ ){ | |
new = new + i; | |
debugger; | |
} | |
// jquery | |
$('body').css({ | |
'background-color' : '#000' | |
}); |
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> | |
<title>Core Interaction</title> | |
<link rel="stylesheet" href="assets/css/global.css"> | |
</head> | |
<body> | |
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
<script scrc="assets/js/global.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment