Exercise 3: Real Life Challenge: OpenWeatherMap API
OpenWeatherMap is a well known weather data provider online. It offers
an API which allow developers to fetch data about weather. The
documentation can be found here.
Your task is to write a Weather APP, which will display the weather
information based on the users wishes.
Notice, that you will need to sign up (its free) to get the API key,
which allows you to use the service.
First develop the app to display raw weather information (Temperature,
Clouds, Humidity) on one spesific city, when the button is clicked.
When you achieve this, then parse the data and output it to div
When you have achieved this, implement an onchange-event on the
pulldown menu, which will allow the user to select which city's data
will be shown from a list of cities
When you have completed this, add functionality to an input field, in
which the user can write search queries which are sent to the
OpenWeatherMap API and the system will run a search query which is
retuned to your app.