Last active
January 25, 2020 20:23
-
-
Save shanelonergan/d14d59adfa23fc8dcfdc6283231f2643 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
const parent = document.getElementsByClassName('parent') | |
// => <div class='parent'></div> | |
const helloWorlds = document.getElementsByClassName('hello') | |
// => [ <p class='hello'>hello world 1</p>, | |
// <p class='hello'>hello world 2</p>, | |
// <p class='hello'>hello world 3</p>, | |
// <p class='hello'>hello world 4</p> ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment