Created
November 8, 2018 20:56
-
-
Save nimaa77/d0075be335dfb0643455381b5c7ab981 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
function $(selector) { | |
return document.querySelector(selector) | |
} | |
// Select Body Tag | |
$("body"); | |
// Select By ID | |
$("#SomeID"); | |
// Select By Class | |
$(".btn"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment