title: Update input without needing to refresh page
body: <p>I have this simple code here:</p>
  
  <pre><code>var powered = prompt("my favorite color is:", "");
  document.write(powered);
  </code></pre>
  
  <p>what this does is show the user and input box in which they'll enter a word. Then that word will display on the the page.</p>
  
  <p>Now what I usually do is sit at the computer looking at the screen hitting the refresh button over and over to see if there's any new input</p>
  
  <p>now what I'm hoping to do is: when users input information into the prompt box or form i create...I want the page to update automatically without me needing to hit "refresh" button over and over and over and over and over and....</p>
  
  <p>ps.. I keep saying "prompt or form" because I also want your input on which is better to use. I know those who have pop ups turned off may not ever see the input box...but hey I like the cool pop up affect.</p>