No problem. I do understand what you mean, but just to clarify:
-
document
is not a function. It is an object associated with the browser. -
document
is used throughout the jQuery tutorial, as well as mentioned in the React section of the fCC curriculum. Whilst it is not explained in depth, it is mentioned, albeit quite late in the content.
Thank you, for sharing feedback. I recommend you take a look at what can be expected from the next version of the curriculum: Update on the 7th Edition freeCodeCamp Curriculum
Cheers