Finally got my weather app fully functioning. Had issues getting API to work as I mistakenly thought I had to use the vanilla http GET method. Eventually got it working using jQuery. Tore my hair out over the button functionality but got that in the end too. Now I just need your feedback on style and if you notice any bugs. I cleaned up the code as best I could so you should be able to read that easily enough.
Link here: https://codepen.io/ozmos/pen/MGMbpY?editors=1100
Thanks fellow campers!!
Huh ?? It doesn’t seem to work on Android even when I give it the location permission?
Interesting. How many attempts did you take? Sometimes it doesn’t fetch the data on first try
I tried about 3 or 4 times I guess. It could be a problem with the fCC API. I used the Yahoo weather API for my project
Thanks again for the reply. I think there is something wrong with the way I’ve structured the code. If you don 't mind could you please check this prototype to see if it gets prompt and accurate results