Skip to content

karinhawk/weather-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather App

Table of Contents


About

A weather app built in React which uses WeatherApi to render weather forecasts for specified locations. The user can check their local weather using their device's coordinates or they can search for a location. A 7 day forecast for a location will be displayed, but a daily forecast can be displayed if a day is clicked on. The user can switch between temperature units (F or C).


Screenshots


Languages

  • ReactJS
  • SCSS

Code of Note

  • useLocation to pass props down via react's Link component
  • The hourly forecast shows the user what forecast applies to them in that moment with an arrow
  • passing down conditional units
  • Using the device's coordinates to pinpoint their local forecast

Bugs to fix

  • Switching between C and F in the modal is not bug-proof