Weather API not working for me

Weather API not working for me
0.0 0

#1

Could someone please tell me why the weather API is not being assigned to my “api” variable correctly? When I press the button it should log the API data, but it is currently coming back blank. Thank you for the help!


#2

Nevermind, problem solved!