title: document.createTextNode not working :/
body: <p>So i am making this program where i need to create an ordered list with lots of list elements inside. This is the code:</p>
  
  <pre><code>for(i = 0; i &lt; numbers.length; i++) {
    document.createElement("ls").appendChild(document.createTextNode(eval(numbers[i])));
    document.getElementById("list").appendChild(document.createElement("ls"));
  }
  </code></pre>
  
  <p>It only creates the list elements, it doesn't put the text nodes anywhere in the html document. :/</p>
  
  <p>Does anyone know why this happens and how to fix it? Would really help me out.</p>