Skip to content

Weather app that allows users to see the current and 5 day forecast for a selected city.

Notifications You must be signed in to change notification settings

TMortara/Weather-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather Application

Description

The Weather App will display the current weather and 5-day forecast data for the city entered by the user. Users will be able to revist the weather data for the last 5 entered cities by selecting the desired city in the search history section.

Deployed Portfolio

https://tmortara.github.io/Weather-App/

How to use the Weather App

  1. Enter city you would like to view the Current Weather and the 5-Day Forecast.
  2. Click Submit
  3. Once you click submit, the Current Weather and 5-Day Forecast will appear. Your entry will also be added to your local storage so it is accessible even after you enter a new city.
  4. The previous 5 submissions will appear in your local storage. To access simply click on the name of the previously entered city.

Built With:

  • HTML
  • CSS
  • JavaScript
  • Bootstrap

API

The Weather App was created using a couple of different API calls from OpenWeather

APIs Used:

  • Geocoding API - This API was called to get latitude and longitude for the entered city.
  • Current weather data - This API was called to get the current weather using the latitude and longitude for the entered city.
  • 5 day weather forecast - This API was called to get the 5-Day Forecast Data for the entered city.

Installation Steps

None

Credits

  • My husband, a Full Stack Developer, assisted in helping me understand how to start writing code.
  • My tutor, Alexis Gonzales, who helped explain API calls.
  • Amanda, TA, who helped work through calling the Current Weather API and rendering the data to the page.

Resources Used to Complete Project

License

None

Screenshots

tmortara github io_Weather-App_ (1)

About

Weather app that allows users to see the current and 5 day forecast for a selected city.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published