Accepts work, but menu close won't work


#1

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 Charlottevalentiner,

You need to remove the closing parenthesis ()) on line 8 :)