Search for a US city and see the current weather conditions. As you type a city name, it suggests US cities to you, based on Mapzen search API. You can still enter an international city and hit Enter to see its weather.
Demo here: https://ampetr89.github.io/dojo-wf-weather
Note You will have to accept the warning message to "Load unsafe scripts." This is because the OpenWeatherMap API transfers data over non-secure HTTP.
As you start typing to search for a city, it will provide suggestions based on the letters you've typed so far.
By clicking on a city, you will see the weather in that city, as provided by the OpenWeatherMap API. The background of the page will change to reflect if the current conditions are sunny, cloudy, etc., as well as if it is day or night in the location. Note, if OpenWeatherMap cannot find the city you've entered, it will display an error message.
- Let users toggle between Celcius and Fahrenheit
- Add forecase using the 5-day / hourly forecast api
- Show a map with an icon so you have the right location (Portland Oregon vs Maine)