title: Use getElementById in Alert
body: <p>This is my code:</p>
  
  <pre><code>&lt;form method="GET"&gt;
  &lt;input type="text" class="form" name="name" placeholder="Enter your name!" id="name"&gt;
  &lt;input type="submit" onclick="return clicked();" value="I'm ready!"&gt;
  &lt;/form&gt;
  &lt;script&gt;
  function clicked() {
   return confirm('Hiya,');
  }
  var email = document.getElementById('name').value;
  &lt;/script&gt;
  </code></pre>
  
  <p>I've had a search around, but I cannot find <strong>any single topic</strong> which matches my question. On the return confirmation where it currently just says Hiya, I would like it to then also include the name which the user entered into the text input.</p>
  
  <p>Help would be appreciated.</p>