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 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 https://codepen.io/ozmos/pen/QreQxP?editors=0011