Skip to content

Instantly share code, notes, and snippets.

View Remeic's full-sized avatar
🟢
Be a kind guy

Giulio Fagioli Remeic

🟢
Be a kind guy
View GitHub Profile
@Remeic
Remeic / dom_operation.js
Created June 21, 2019 09:01
Simple Dom Operation
function elementExists(element) {
return document.body.contains(element);
}
function getElementById(element) {
return document.getElementById(element);
}
function getElementsByClass(element) {
return document.getElementsByClassName(element);

Keybase proof

I hereby claim:

  • I am Remeic on github.
  • I am remeic (https://keybase.io/remeic) on keybase.
  • I have a public key whose fingerprint is 8A04 E9E6 BBEC B36E 36F7 439D F501 CEF3 2F76 B113

To claim this, I am signing this object: