title: I can't get onclick to work
body: <p>I'm very new to HTML/CSS/Java, so I'm hoping some of you can help me figure out why my onclick events are not working!</p>
  
  <p>Here's my HTML code (the problematic onclick events are in the divs below the h3 tag, near the bottom of the wrapper div):</p>
  
  <p>
  </p>
  
  <p></p>
  
  <pre><code>&lt;title&gt;My Very First Webpage&lt;/title&gt;
  
  &lt;link rel = "stylesheet" type="text/css" href = "1-sheet.css"&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <pre><code>&lt;script src = "1-math.js"&gt;&lt;/script&gt;
  
  &lt;div id = "headerDiv"&gt;
      &lt;h1&gt; Math! &lt;/h1&gt;
  &lt;/div&gt;
  
  &lt;div id = "wrapperDiv"&gt;
    &lt;div id = "navDiv"&gt;
      &lt;div id = "navButtonDiv" class = "buttonDiv"&gt; &lt;a href = "1-home.html"&gt; Home! &lt;/a&gt; &lt;/div&gt;
      &lt;div id = "navButtonDiv" class = "buttonDiv"&gt; &lt;a href = "1-math.html"&gt; Math! &lt;/a&gt; &lt;/div&gt;
      &lt;div id = "navButtonDiv" class = "buttonDiv"&gt; &lt;a href = "1-links.html"&gt; Cool Links! &lt;/a&gt; &lt;/div&gt;
      &lt;div id = "navButtonDiv" class = "buttonDiv"&gt; &lt;a href = "1-videos.html"&gt; Videos! &lt;/a&gt; &lt;/div&gt;
      &lt;div id = "navButtonDiv" class = "buttonDiv"&gt; &lt;a href = "1-unknown.html"&gt; ??? &lt;/a&gt; &lt;/div&gt;
    &lt;/div&gt;
  
    &lt;h3&gt; Enter a list of numbers and find its mean, median, and mode! &lt;/h3&gt;
    &lt;div id = "enterNumbers" class = "buttonDiv" onclick = "getNumbers()"&gt; Enter numbers &lt;/div&gt;
    &lt;div id = "mathButtonDiv" class = "buttonDiv" onclick = "mean()"&gt; Mean &lt;/div&gt;
    &lt;div id = "mathButtonDiv" class = "buttonDiv" onclick = "median()"&gt; Median &lt;/div&gt;
    &lt;div id = "mathButtonDiv" class = "buttonDiv" onclick = "mode()"&gt; Mode &lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <p></p>
  
  <p>And here's the linked JS file (its file name is "1-math.js", so it matches with the script tag above):</p>
  
  <pre><code>var nums = "";
  function getNumbers()
  {
    nums = prompt("Enter a list of numbers separated by commas", "Put numbers here");
  }
  
  
  //incomlete
  
  function mean(var numbers)
  {
    document.write("mean");
  }
  
  function median(var numbers)
  {
    document.write("median");
  }
  
  function mode(var numbers)
  {
    document.write("mode");
  }
  </code></pre>
  
  <p>Thanks for any help you can provide! :)</p>