I’ve completed my local weather app but since I’ve added a new location search button, I’ve noticed my 2 metric/ imperial buttons are not working until I enter a new location and press submit. can’t figure out why
Hi. I think you put your change function inside new location function. So my advice is take that part and put them inside main function which means after getting first weather data. It should work after that. Much specifiy take that part and add it after getting first data.