Mastering Manipulations - Set up - "Did you put document inside $() ?"


Here is the code I entered in to script.js:

$('document').ready( function() {

Yet, it still asks if I put "document" inside $().


Hi Zachnap,

document is a variable; you can't have quotes around it.


Thanks, it worked. I didn't have any idea. That is interesting cause I am not sure how I have made it all this way and the code checker has never said anything up to this point.

I have been using "$('document')" the entire time.


It should've caught that before now, but it sometimes has mistakes :confused: