Tell us what’s happening:
I’m trying to complete this challenge, but not getting through the basics of creating a collection into my MongoDb, I dont know what is the error im doing. this code is not complete yet, but im stuck in the first stage of saving my document to Db, please review and let me know what is wrong with my code
When I click the button it doesnt show any error, it keep loading and finally it showing as site is not responding
Please help
Your code so far
https://glitch.com/~shortener-url-a
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.88 Safari/537.36
.
Challenge: undefined
Link to the challenge: