title: Is it possible to append an element to a JavaScript nodeList?
body: <p>I'm generating content dynamically, so I'm often ending up with <code>documentFragments</code> which I'm querying using <code>querySelectorAll</code> or <code>querySelector</code> returning a <code>nodeList</code> of elements inside my documentFragment.</p>
  
  <p>From time to time I would like to add an item to a list, but I can't find anything online on whether this is even possible.</p>
  
  <p>I tried it like this:</p>
  
  <pre><code> document.querySelectorAll(".translate").item(length+1) = document.createElement("div");
  </code></pre>
  
  <p>and this:</p>
  
  <pre><code> document.querySelectorAll(".translate").shift(document.createElement("div"));
  </code></pre>
  
  <p>But both don't work (as expected)</p>
  
  <p><strong>Question:</strong><br>
  Is it possible to manually add elements to a NodeList? I guess, not but asking nevertheless.</p>
  
  <p>Thanks for some insights?</p>
  
  <p><strong>EDIT</strong>:<br>
  So more info: I'm generating a block of dynamic content, which I want to append to my page. By default the block is in English. Since the user is viewing the page in Chinese, I'm running a translator on the dynamic fragment, BEFORE appending it to the DOM. On my page, I also have an element, say a title, which should change depending on the dynamic content being added. My idea was to do this in one step = try to add an element to my <code>nodeList</code>. But from writing it now... I guess not possible :-)</p>