A weather application to get the temperature, weather condition and whether it is day or night of a particular city.
-
Enter the name of a city into theinput
field. -
By pressing enter, the user submits the name of the city which updates theDOM
with the temperature, weather condition, image of day or night and weather condition icon.
-
By closing the browser window the city name will be stored in localStorage and when the user returns, the name will be retrieved to make an api call to update theDOM
.