Created
August 13, 2021 01:21
-
-
Save thonly/35fe941ea683af36f08919b7172680a2 to your computer and use it in GitHub Desktop.
One-Liner Podcast Episode 1
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
// Solution 1 | |
document.querySelector("p").style.color = "green" | |
// Solution 2 | |
document.getElementById("p1").style.color = "green" | |
// Solution 3 | |
p1.style.color = "green" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment