Skip to content

Weather app that displays weather info by city. This is created to practice API, promises, async and await.

License

Notifications You must be signed in to change notification settings

yuejiahz/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

weather-app

View demo

Weather app that displays weather info by city. This is created to practice fetch API, promises, async function and await, handling error using try..catch in async, handling error 404.

daytime-demo

demo-nighttime

Features

  • Search city from search bar
  • Displays weather status, weather icon, average temperature, the temperature feels on skin, max temperature, min temperature, sunrise time, sunset time, humidity, and wind speed.
  • Background changes to daytime or night time according to current time of the city, adjusted to local sunrise and sunset time.

API source

  • openweathermap.org

About

Weather app that displays weather info by city. This is created to practice API, promises, async and await.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published