I’m working through this and I’ve found a way to get my device’s location with the IP address. What I’m not too sure of is how I’m supposed to take that response and then concatenate it into the request URL for the weather data. I keep getting an error that my variables in line 10 and 11 are not defined on line 19.
It seems like it’s just a scope issue that I just need more practice with. I’ve tried rearranging the functions, but currently I’m stumped.