title: Need my document.write out put on the same line as my on click button?
body: <p>If you run this test code you will see the date stacked over the the button. I would like the date and button on one line. Please keep in mind this is my first test code with javascript.</p>
  
  <pre><code>&lt;html&gt;
  
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
  &lt;!--
  var currentTime = new Date()
  var month = currentTime.getMonth() + 1
  var day = currentTime.getDate()
  var year = currentTime.getFullYear()
  document.write("Today's Date" + month + "/" + day + "/" + year)
  //--&gt;
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;form name=myform&gt;
  &lt;input type=button value="add days" onClick="prompt('How many days do you want to add?','5 or 6');"&gt;
  &lt;/form&gt;
  
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>