6. review won't open


#1

It say the menu should work but it doesn't, it say my code is good, but the menu still doesn't work
var main = function() {
$('.icon-menu').click (function()
$('.menu').animate({
left: '0px'
}, 200);

$('body').animate({
left: '285px'
}, 200);
});
};

$(document).ready(main)


#2

nvm i just found the mistake :smiley:


#3

Yeah awesome.. thanks for sharing your solution mate.


#4

On line two is their mistake. The person wote

$('.icon-menu').clock(function()

The code is actually

$('.icon-menu').clock(function(){

They forgot to open the bracket