Close The Menu - confused


I'm confused as to exactly what my problem is (with this code I mean, not metaphyscially). It does what it's meant to do (opens and closes the menu), but I get an error which reads.....

"Oops, try again. Remember to add code for $('body') inside $('.icon-close').click(). Look back at the instructions for the code."

I did add the 'body' inside the icon-close click, look Mr Codecademy, it's right there (points)

Please could someone put me out of my misery? Thank you very much.

var main = function(){


body is not a class , body is html tag

dont use . to select body tag

$('.body') // remove .


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