Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>JS Bin</title>
</head>
<body>
<script>
// self executing function here
(function disco() {
   // your page initialization code here
   // the DOM will be available here
    setTimeout(function aquaman() {document.body.style.backgroundColor = "aqua";}, 0);
    setTimeout(function pinkman() {document.body.style.backgroundColor = "pink";}, 1000);
    setTimeout(function blueman() {document.body.style.backgroundColor = "blue";}, 2000);
    setTimeout(function redman() {document.body.style.backgroundColor = "red";}, 3000);
    setTimeout(function brownman() { document.body.style.backgroundColor = "brown";}, 4000);
})();
</script>
</body>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers