title: Create random lottery powerball numbers
body: <p>I want to create Javascript code that can produce 5 numbers between 1-59 and a 6th number 1-35.</p>
  
  <p>What I have so far:</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
  &lt;meta charset="utf-8" &gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;script type="text/javascript"&gt;
  function powerballNumber()
  
  {
  var powerballNumber = (Math.random()*59) +1;
  powerballNumber = parseInt(powerballNumber);
  alert(powerballNumber)  
  }
  
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form name="powerball"&gt;
  
  &lt;input type="button" value="Create Powerball Numbers" name="btnSubmit"      onclick="powerballNumber()"&gt;
  &lt;/form&gt;
  &lt;br /&gt;
  &lt;/body&gt;
  
  &lt;/html&gt;
  </code></pre>