title: Appending to a text area followed by a new line
body: <p>I'd like to append a string to a text area, followed by a new line. </p>
  
  <p>My research shows that 
  Here's what I've tried thus far, but have not had any luck with:</p>
  
  <pre><code>function putStr(str){
      document.getElementById('output').value += str +\n;
  }
  
  
  function putStr(str){
      document.getElementById('output').value += str \n;
  }
  
  function putStr(str){
      document.getElementById('output').value += str;
      document.getElementById('output').value += \n;
  }
  </code></pre>
  
  <p>Thanks!</p>