title: Adding textbox value to alert
body: <p>New at JavaScript and I'm trying to write an alert box that not only says Thank You For Visiting when you click the Enter button but also says the name entered into the text box.  I have the box saying Thank you For visiting but can't figure out how to make it so that it says Thank You For Visiting Name.</p>
  
  <p>This is what I have so far</p>
  
  <pre><code>&lt;title&gt;JS-Colors&lt;/title&gt;
  &lt;script type="text/javascript"&gt;
      function salutation () {
          var goodbye= document.getElementById('name').Value;
          if (confirm("Thank You For Visiting") == true){
              goodbye="Thank You For Visiting";
          } 
  
      }
  &lt;/script&gt;
  </code></pre>
  
  <p>and this is the html part of it</p>
  
  <pre><code>First Name:&lt;input type="text" id="name"/&gt;
  &lt;input type="button" value="Enter" button onclick="salutation ()"/&gt;
  </code></pre>
  
  <p>What am I missing?</p>