title: html button redirect to page specified in <input>
body: <p>I need to redirect the user to a page specificed in an input tag.</p>
  
  <pre><code>&lt;div id="center"&gt;
        &lt;input type="text" id="username" placeholder="Username"&gt;
        &lt;button onclick="location.href='rooms/VALUE'" id="connect"&gt;EnterRoom&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>So where it says "VALUE" inside of the button tag, it would redirect to mysite.com/rooms/VALUE</p>
  
  <p>the "VALUE" input would be inputted by the user inside the input tag.</p>
  
  <p>Any simple way I can do this?</p>