Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<ol class="btns">
  <li>First item</li>
  <li>Second item</li>
  <!--Third one goes here-->
  <li>Four item</li>
</ol>
  
window.addEventListener('DOMContentLoaded', function()
{
var findmenu = document.getElementsByClassName("btns");
var paragraph = document.createElement("li");
var textNode = document.createTextNode("Third item");
paragraph.appendChild(textNode);
  
  //next?
},false);
Output 300px

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

Dismiss x
public
Bin info
anonymouspro
0viewers