Skip to content

A simple weather app that displays the current temperature in any chosen city. Built as a student project while learning about API's.

Notifications You must be signed in to change notification settings

holoflash/Current-Temperature

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Current Temperature

A simple weather app that displays the current temperature in any chosen city. Built as a student project while learning about API's. App Preview

  • Search for any city in the world
  • Display the city name, state, country and flag (if applicable) of the country for each search result
  • Enjoy the CSS loading animation while waiting for the search to complete
  • Toggle between celsius and fahrenheit by clicking on the temperature display
  • Once selected, display the full city name, the current temperature, and the temperature fetch time in local-time
  • Dynamic gradient background indicating the temperature (cold = blue, warm = red, night = dark-blue, day = orange)
  • Selected city and choose temperature unit (°C/°F) are stored in localStorage and displayed upon refresh/revisit of site
  • Reset localStorage via changeCity button

Huge hanks to the amazing people behind these great API's used in this project:

Technologies used:

JavaScript CSS3 HTML5

About

A simple weather app that displays the current temperature in any chosen city. Built as a student project while learning about API's.

Topics

Resources

Stars

Watchers

Forks