Giter VIP home page Giter VIP logo

jxhnkndl / weather-dashboard Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 15.99 MB

Dynamically rendered weather dashboard using jQuery, asynchronous JavaScript, Day.js, AJAX, the OpenWeather API, Bootstrap 4, and HTML/CSS.

Home Page: https://jxhnkndl.github.io/weather-dashboard/

HTML 51.49% CSS 2.32% JavaScript 46.19%
weather-dashboard weather-app weather-data jquery javascript dayjs bootstrap-4 api-request json

weather-dashboard's Introduction

Weather Dashboard

languages html commit

Table of Contents

Deployed Application

Weather Dashboard is live at the link below:

Weather Dashboard - Live Demo

Description

Weather Dashboard is a simple browser-based weather application. Users can search for a city's current weather conditions, current UV-index, and five-day forecast. Previously searched cities can be quickly recalled from a search history list located below the input field.

Technologies

  • HTML
  • CSS
  • Bootstrap 4
  • JavaScript
  • jQuery
  • AJAX
  • Day.js
  • OpenWeather API - View Docs

Features

  • Responsive UI: The dashboard is designed to look sleek and simple across multiple breakpoints. On extra small devices, the application's search history collapses into a button allowing the user to toggle its visibility on and off.

  • Dynamically Displayed Weather Data: The application does not need to be refreshed when requesting weather data for new cities. The user interface updates itself with each new request.

  • UV Condition Indicator: Using the EPA's standards for UV conditions, the application renders the UV index in green when the condition is favorable, yellow when the condition is moderate, and red when the condition is severe.

  • Intelligent Five-Day Forecast: Since five-day forecast data gets returned by the OpenWeather API in three-hour increments, the time coverage on the fifth day changes depending on when the request gets made. In order to maximize accuracy, the application looks to fill each of the five days using a noon forecast. If the application can't fulfill that goal for the fifth day, it uses a series of conditions to display the next best option.

  • Live Updating Search History: Every city gets added to the application's search history for convenient access. Just click a city and the application will re-request and display its current weather and forecast data.

  • Store Cities Locally: Every search gets saved to local storage using the browser. This allows users to search for cities, step away from the application, and resume right where they left off. All previously searched cities (with the exception of the most recently searched city) can be deleted using the "Delete History" button.

  • Load Weather Data for Last Searched City on Launch: The application keeps the last searched city in local storage so that its current weather and forecast data can be re-requested and displayed when the application is launched.

Live Demo

UI/UX demostration of the Weather Dashboard:

Application Preview

License

Copyright (c) 2021 J.K. Royston
Licensed under the MIT License.

Contact

J.K. Royston
[email protected]
GitHub

weather-dashboard's People

Contributors

jxhnkndl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

surya-2004

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.