Skip to content

Instantly share code, notes, and snippets.

View zashishz's full-sized avatar

Ashish verma zashishz

View GitHub Profile
Event Names
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
HANDLING EVENTS
Method 1.
-------------
<button onclick="alert('Hello, World');">Some JS</button>
Method 2.
============================================
# TYPE OF NODES
----------------
1. Element Node
2. Attribure Node
3. Text Node
++++++++++++++++++++++++++++++++++++++++
## Target on Elements
++++++++++++++++++++++++++++++++++++++++
@zashishz
zashishz / Git Commands
Last active June 24, 2017 12:08
Git Handy Commands
* git remote -v //shows all remote sources
* git remote set-url origin <<link>>
* git remote add origin https://github.com/try-git/try_git.git
* git push -u origin master
* git pull origin master
* git diff HEAD
//compare with staged files
* git diff --staged
//unstage
* git reset octofamily/octodog.txt