Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
DOM breakpoints demo
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