title: Javascript Alert Function not working
body: <p>I have attempted to produce Javascript Alert functions for my website so that they would pop up,however for some unidentified reason-they do not work.I have tested my code with W3C Validator,which resulted in 3 warnings,one of which said I had missed a body tag,yet I do not see any error within my code.Please assist?</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;body&gt;
  
  &lt;p&gt;Click the button.&lt;/p&gt;
  
  &lt;button onclick="myFunction()"&gt;Example 1 Answer&lt;/button&gt;
  &lt;br&gt;
  &lt;button onclick="2"&gt;Example 2 Answer&lt;/button&gt;&lt;br&gt;
  &lt;button onclick="3"&gt;Example 3 Answer&lt;/button&gt;&lt;br&gt;
  &lt;button onclick="4"&gt;Example 4 Answer&lt;/button&gt;
  
  &lt;script&gt;
  function myFunction() {
    alert("10/63");
  }
  function 2() {
    alert("13/10");
  }
  function 3() {
    alert("37/30");
  }function 4() {
    alert("4/21");
  }
  &lt;/script&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>