Skip to content

Instantly share code, notes, and snippets.

@charlwillia6
Last active March 5, 2019 22:58
Show Gist options
  • Save charlwillia6/4dddb8432e953a3969062e3e64c11fed to your computer and use it in GitHub Desktop.
Save charlwillia6/4dddb8432e953a3969062e3e64c11fed to your computer and use it in GitHub Desktop.
Gist and jsFiddle example #html #js #css #example #fiddle
.fiddle {
color: red;
font-weight: bolder;
}
<div class="fiddle">It worked</div>
let div = document.getElementsByClassName('fiddle')[0]
setInterval(function() {
div.style.color = 'green';
}, 4000);
setTimeout(function() {
setInterval(function() {
div.style.color = 'yellow';
}, 4000);
}, 2000);
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