Functions: Part1 - Screenshot - How is this wrong?


#1


Function: Part 1


Says I haven't entered the document but I have, square has disappeared, how is this wrong?


$('document').ready(function() {
    $('div').hide();
  });
<img src="//codecademy-discourse.s3.amazonaws.com/original/5X/e/8/d/a/e8da9437a7a0e2c7e5c0dc8042ac03f121ac2e72.PNG" width="690" height="346">


#2

why is document a string in your case? it refers to the html document


#3

Well what a silly mistake I made. It is not supposed to be in quotes as you know. Good job on the lightning fast response. That must have been me who did that.


#4