FYI, we can’t access your localhost. It looks like you have syntax error that may not be related to the remove method. I would need to see more code to help, not a screen shot, link to actual code.
hi now I’m very depressed to fix this bug, I had seen a video about this challenge, problem is not about remove method because I copied exactly what this youtuber coded to pass but still can’t pass, it said that have the problem with file
server.js and now I’m really dreadful if u can help me, I’m really greatful
This does not answer your question but is very important. Your mongoDB connection string should never be visible in your GitHub code.
mongoose.connect("no one should ever be able to see this connection string")
Instead your connection string should be saved in a .env file, and in a .gitignore file (you should add one) add .env to be ignored so no one can see your connection string.
Then you would do something like: