My Codepen - https://codepen.io/lisacope/pen/amXEwg
I just have some basic stuff so far - my real issue is the code logic. When I look at the console output, I am seeing the following -
going to do geolocation
console_runner-d0a557e5cb67f9cd9bbb9673355c7e8e.js:1 GEOLocation is true, at the top of the if statement
console_runner-d0a557e5cb67f9cd9bbb9673355c7e8e.js:1 right before json call =0 Lon = 0
console_runner-d0a557e5cb67f9cd9bbb9673355c7e8e.js:1 just before end of if statement
console_runner-d0a557e5cb67f9cd9bbb9673355c7e8e.js:1 after the if statement
console_runner-d0a557e5cb67f9cd9bbb9673355c7e8e.js:1 https://crossorigin.me/http://api.openweathermap.org/data/2.5/weather?lat=0&lon=0&appid=f27a663a728568282620c26af630aefb
console_runner-d0a557e5cb67f9cd9bbb9673355c7e8e.js:1 Just did getcurrentposition
console_runner-d0a557e5cb67f9cd9bbb9673355c7e8e.js:1 After GEOlocation =47.714812599999995 Lon = -122.20312639999999
it seems like it is jumping over the getcurrentposition call, the jumping over the json call, and then doing the json call, and then the getcurrentposition call! What am I doing wrong!!!
