Last active
November 21, 2017 23:47
-
-
Save pardamike/a0a9993b0e5d35f34abac2a601542301 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title></title> | |
<meta name="description" content=""> | |
<meta name="author" content=""> | |
</head> | |
<style> | |
/* Styles in here */ | |
</style> | |
<body> | |
<button id="someButton">Click Me!</button> | |
<script src="https://code.jquery.com/jquery-3.2.1.min.js" crossorigin="anonymous"></script> | |
<script> | |
console.log("This is jQuery:"); | |
console.log($('#someButton')); | |
console.log("This is Javascript:"); | |
console.log(document.getElementById('someButton')); | |
console.log("This is Javascript using console.dir:"); | |
console.dir(document.getElementById('someButton')); | |
</script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment