Push the Menu (Close the menu)



Oops, try again. Use the line $('.icon-close').click(); inside your main function.

var main = function() {
$('.icon-menu').click(function() {

    }, 200);
    left: '285px'        
        }, 200);


$('icon-close').click(function() {
        left: "-285px"
    }, 200);
    left: "0px"
}, 200);


Hi Emad,

Carefully compare the error message to your code.

Error message:


Your code:


See the difference? :slight_smile:


Oh my goddddd! how I didn't see this? lol
Thank you very much!!


This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.