Skip to content

App for checking the weather in any given city. Technologies used: Openweather API, jQuery, CSS

Notifications You must be signed in to change notification settings

nidaqg/weather-dashboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weather Dashboard

A weather app for looking up the current and forecasted weather for a given city.

Description

This project called for the creation of a weather app using the Openweather API (https://openweathermap.org/api). The app functionality includes searching for and displaying the current weather as well as a 5-day forecast for any city that the user inputs.

When the webpage loads, the user is presented with a simple UI with an input field for entering the name of the city for which weather data is needed. If nothing is entered in the input field, an error message is displayed and the user is asked to try again. If an incorrect city name is entered, again an error message is displayed. When a valid city name is entered, then the user is presented with the current weather conditions for the city, including temperature, humidity, wind speed, an icon representation of the weather and the UV Index. Beneath the UV Index is also information on whether the UV conditions are favorable, moderate or severe.

Below the current weather conditions, the 5-day forecast for the city is also displayed within a card group. This forecast information includes the date, a weather icon, the temperature and the humidity.

When a city is searched for, it is added to the search history and this search history is displayed below the city input field. A max of 6 items are displayed for the search history.

If a city name in the displayed search history is clicked, then the current and forecasted weather conditions are displayed for that city again.

Attached are images of the weather dashboard UI:

weather-dashboard-demo1

weather-dashboard-demo2

Attached is a link to the GitHib repository for the project: https://github.com/nidaqg/weather-dashboard

For any questions or queries contact me at nidaqg@gmail.com

Attached is a link to the deployed application: https://nidaqg.github.io/weather-dashboard/

License

MIT License

Copyright (c) [2021] [Nida_Ghuman]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

App for checking the weather in any given city. Technologies used: Openweather API, jQuery, CSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published