title: How to append elements of different class name javascript
body: <p>Hi i'm trying to append elements into one set from there class names but getting an error.</p>
  
  <pre><code>var temp=document.getElementsByClassName("test");
  temp.push(document.getElementsByClassName("we"));
  </code></pre>