title: there's an error to createElement and its attribute
body: <p>I try to createElement as h1 and its attribute class, but i can not get it working.</p>
  
  <p>here goes my post:</p>
  
  <pre><code>function krea_ta(){
    var tagy = document.cteateElement("h1");
    var clasy = createAttribute("class");
    clasy.value = "myclass";
    tagy.setAttributeNode(clasy);
    tagy.innerText = "business";
  }
  </code></pre>
  
  <p>Where is the problem?</p>