Weather Dashboard
11/7/2020
Pirooz Wallace Contact Info: PiroozWallace@outlook.com
LinkedIn: www.linkedin.com/in/piroozwallace
GitHub Repo: https://github.com/attack-theoRy/06WeatherDashPW
GitHub Pages / App : https://attack-theory.github.io/06WeatherDashPW/
APIs and CSS Frameworks Used:
- OpenWeatherMap API
- jQuery API
- Font Awesome CSS for search function magnifying icon
- BootStrap CSS
What this App Does: Weather app that allows you to find the current weather conditions by city / country. Has search bar (where user inputs city) that calls openweathermap api to get current temperature, humidity, date, wind speed and UV index. UV index is color coded to denote whether UV is favorable (green), moderate (yellow) or severe (red). Favorable = 0-3, Moderate = 3-5 and Severe = 5+. Here is an example of severe UV index in Chile
Search can also be done by pressing "enter" as well, not just clicking.
The app also gives a 5 day forecast for the city with basic weather conditions including date (extraneous time has been removed since this screenshot), temperature, humidity and a small image to denote whether it will be sunny, rainy, foggy etc. and then adds the city to a search history that is displayed beneath the search bar. Searching for multiple cities will give you a clickable search history list you can use to retrieve those cities weather conditions again:
The last city searched is saved to localstorage and retrieved when opening / refreshing the browser. So opening after using it should have last search already displayed like below:
MIT License Copyright (c) 2020 Pirooz Wallace (https://attack-theory.github.io/Portfolio/index.html) 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.
English Česky