title: How to display entered text in an textbox?
body: <p>I would like to enter a text in an input field and have it displayed in a text box.</p>
  
  <p>I think it's easy. I need one Input for enter a text, a button and a textbox to show my text. But my code doesn't work.</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;link rel="stylesheet" href="style.css"&gt;
  
  &lt;script type="text/javascript"&gt;
  function ausgabe(){
    var text=document.getElementById("text");
    var Wiedergabe=document.getElementById("Wiedergabe");
    var Text=text.value;
    Wiedergabe.value=Text
  }
  
  &lt;/script&gt;
  &lt;div class="Webview"&gt;
  
    &lt;div class="message_container" id="myForm" &gt;&lt;/div&gt;
  
    &lt;form class="send_container"&gt;
      &lt;input type="text"&gt;
      &lt;button type="submit"
      value="Nachricht absenden"
      onclick="ausgabe"&gt;
  
    &lt;/form&gt;
  
  
  
  &lt;/div&gt;
  
  
  @charset "UTF-8";
  
  .Webview{
    height: 400px;
    width: 300px;
  }
  
  .message_container{
    height: 80%;
    width: 100%;
    border:5px solid green;
  }
  
  .send_container{
    height: 20;
    width: 100%;
  }
  
  .send_container input{
    width: 70%;
    height:20%
    border:2px solid #1CE615;
  }
  
  .send_container button{
    width: 30%;
    height:20%;
  }
  </code></pre>