Last active
March 5, 2019 22:58
-
-
Save charlwillia6/4dddb8432e953a3969062e3e64c11fed to your computer and use it in GitHub Desktop.
Gist and jsFiddle example #html #js #css #example #fiddle
This file contains hidden or 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
.fiddle { | |
color: red; | |
font-weight: bolder; | |
} |
This file contains hidden or 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
<div class="fiddle">It worked</div> |
This file contains hidden or 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
let div = document.getElementsByClassName('fiddle')[0] | |
setInterval(function() { | |
div.style.color = 'green'; | |
}, 4000); | |
setTimeout(function() { | |
setInterval(function() { | |
div.style.color = 'yellow'; | |
}, 4000); | |
}, 2000); |
This file contains hidden or 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
name: Gist and jsFiddle Example | |
description: https://docs.jsfiddle.net/github-integration/untitled | |
authors: | |
- CharlWillia6 | |
normalize_css: no | |
panel_html: 0 | |
panel_js: 0 | |
panel_css: 0 | |
wrap: d |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment