title: Uncaught SyntaxError: Unexpected string in my js file
body: <pre><code>$(document).ready(fuction( {
  
      $('.nav').click(function( {
          $('.div3').animate({height:'100px'}, 500);
      });
  
      $('.abcd1').mousedown(function() {
          var a1m = document.getElementById('abcd_1');
          a1m.currentTime = 0;
          a1m.play();
      });
  });
  </code></pre>
  
  <p>I am getting this error on line <code>/* $('.nav').click(function( { */</code> and I am unable to figure out where I went wrong. </p>