Push Menu 7. Close the menu


#1


i used the following code it works still i am unale to submit it as its showing error whats the problem with this
excuse me if theres any error in code

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

Hi Deepanshubendale,

Lines 7 & 18 need to use single quotes (') rather than double quotes (") :)