Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
  <div class="container">
    <div id="bubbles"></div>
  </div>
</body>
</html>
 
var bubbles = document.getElementById('bubbles')
for (var i = 1, len = 7; i <= len; i++) {
  // This is the cell
  var bubble = document.createElement('div')
  // This is the div in the cell
  var boob = document.createElement('div')
  
  bubble.classList.add('bubble')
  boob.classList.add('boob')
  
  // We put the div in the cell
  bubble.appendChild(boob)
  // And the cell in the table
  bubbles.appendChild(bubble)
}
Output

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

Dismiss x
public
Bin info
yerebypro
0viewers