Weather condition search dashboard
Description:
A weather application that allows the user search by city for current weather information for that day as well as the next five days. App utilizes an (API)Application Programming Interface to pull data into the browser and features dynamically updated HTML and CSS powered by jQuery. The following conditions were met:
-
https://OpenWeatherAPI.org used to retrieve weather data
-
Ajax calls used to hook into API to retrieve data in a JSON format
-
Initial Search displays the following for current day:
- City
- Humidity
- Date
- Wind Speed
- Temp
- UV Index
- Weather Icon Img
-
"Search" results will save in localStorage.
-
Search list will update dynamically when page resets.
-
5-day Forecast logs consecutive days forecast below current day with the following information displayed:
- Date
- Temp
- Weather Icon Img
- Humidity
Usage:
Weather dashboards such as this are important to our daily lives. They provide valuable information that allows us to plan appropriately for inclement weather. Weather affects how and when we travel, what clothes we where, what activities we do in our free time. Companies that deal with logistics rely on this information to appropriately plan business travel and adjust for impending delays. Often, being ill-prepared can be very costly as shipments can be delayed, deliveries rerouted, etc. Being aware can give you an edge and in many cases save the day!
-
Index.html
Main Page -
-
Script.js
Javascript for Main Page
-
Style.css
Stylesheet for all
-
Reset.css
Compressed set of CSS rules that resets the styling of all HTML elements to a consistent baseline.
Technologies Used:
* HTML, JavaScript, jQuery
* OpenWeatherAPI, Bootstrap4