title: Javascript replace and append child
body: <p>Im having trouble figuring out how to change a word in an included paragraph in a html file.
  I need to change the use the replace function to replace one word, then append a new paragraph with the paragraph that has the newly replaced word. I've tried multiple things, here's what I have right now.</p>
  
  <pre><code>function replace(){
  var str = document.getElementById('para').innerHTML;
  var wat = str.replace("ipsum", "World");
  var el = document.createChild('p');
  document.getElementById('para').innerHTML = wat;
  el.innerHTML = wat;
  document.body.appendChild('el');
  }
  
  replace();
  </code></pre>
  
  <p>I do not even need it all in a function, I just recently added that because nothing else I was doing was working.</p>