I'm a beginner in coding, and I am making a front and back end prototype website. Written with node/express/javascript
I have a Google Map API, where when I click a button I can console log the location. I am able to retrieve the co-ordinates via the console, but I want to take these coordinates and store them in my mongodb to then post back onto my map api. Any ideas of the best way to do this? Preferably using ajax?