title: netbeans error expected an operand but found
body: <p>Beginner to java trying to implement jquery into netbeans by inputting these codes into a 
  javascript file to create a main-menu page. 
  Utilizing jquery v 3.1.1. They highlight my second script tag saying its an error</p>
  
  <pre><code>&lt;script type="text/javascript" src="jquery.js"&gt;  &lt;/script&gt;
    var main = function () {
  
     $('.icon-menu').click(function () {
      $('.menu').animate({
         left: "0px"
      }, 200);
  
      $('body').animate({
          left: "285px"
      }, 200);
     });
  
  
    $('.icon-close').click(function () {
     $('.menu').animate({
         left: "-285px"
     }, 200);
     $('body').animate({
         left: "0px"
     }, 200);
    });
    };
  
  
   $(document).ready(main);/* 
  </code></pre>
  
  <p>They highlight my  as an error and give the message </p>
  
  <p>Menu.js:2:8 Expected an operand but found &lt;</p>
  
  <pre><code>&lt;script type="text/javascript" src="jquery.js"&gt;  &lt;/script&gt;
  </code></pre>