Originally the background was just a URL which was being resued for all weather. So, I added a function called updateBackground() to both script.js and geolocation.js that updates the background url dinamically with each new search. If in future you wish to change the images all you have to do is change the URL for each weather type in the function.
Here are a few examples of this feature in action!
Kindly merge this before 31 Oct East Pacific time to make it count towards hacktoberfest!
Issue #98 Changing Backgrounds with weather
Originally the background was just a URL which was being resued for all weather. So, I added a function called updateBackground() to both script.js and geolocation.js that updates the background url dinamically with each new search. If in future you wish to change the images all you have to do is change the URL for each weather type in the function.
Here are a few examples of this feature in action!
Kindly merge this before 31 Oct East Pacific time to make it count towards hacktoberfest!