Syntaxerror: missing : after property id


#1



https://www.codecademy.com/en/courses/web-beginner-en-zmn0b/0/7?content_from=make-an-interactive-website%3Ayour-first-program#


Menu bar does not display after clicking, but apparently I am performing the exercise correctly (?).

Error message is in the subject line.


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);


#2

here is:

you forget ' : ' between left and "0px"