Created
July 4, 2017 19:23
-
-
Save Bajena/3f7e386f1d49da92dd16503f8c461651 to your computer and use it in GitHub Desktop.
DOM breakpoints demo
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
setInterval(function() { | |
var x = getRandomInt(0, 100); | |
$('#numbers').append(x).append("<br/>"); | |
}, 1000); | |
setInterval(function() { | |
var x = getRandomInt(101, 200); | |
$('#numbers').prepend("<br/>").prepend(x); | |
}, 2000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment