To be able write the city they want to know the weather and get Temperature and Humidity about this city. To show a message that city doesn't exist when can't find information about it.
To show bars with the results for the city (temp humidity).
AJAX code to contact with the weather api.
17 freelancers are bidding on average €20 for this job