title: Input text value into a div?
body: <p>Say I have this text box:</p>
  
  <pre><code>&lt;input type="text" id="myText" placeholder="Enter Name Here"&gt;
  </code></pre>
  
  <p>Upon pressing a button, I would like to send the value entered into this div:</p>
  
  <pre><code>&lt;div id="text2"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I'm not entirely sure how to do this. Do I create a function and call it to the div? How would I do that? </p>
  
  <p>Could someone clear this up for me? Thanks.</p>