5/8 can't get the menu to appear


Hi, I get a syntax error when I submit the code and the menu won't appear. I am very confused with this code anyways. Here's my code

var main = function() {
    $('.icon-menu').click(function() { 
            left: '0px'
            }, 200);
                left: '285px'
            }, 200); 


Can anyone tell me what I'm doing wrong and explain it to me?


Hi maartje,

The dot (.) needs to be inside the single quotes (') :slightly_smiling:


thank you! that fixed it