I’m trying to load the file given in the assignment. However, it fails to load the file and gives the error that file is not present. Please help me!
Have you downloaded the file in the same directory as the one you use to start the mongo shell?
Change to the directory/folder where you saved the .js file.
Then run the
mongo shell from there.