Giter Club home page Giter Club logo

weather-dashboard's Introduction

Weather Dashboard

Description

This is a single page application built with HTML, CSS, and JavaScript. It allows a user to enter a city and receives the current weather data and a forecast for the next five days. The application uses moment.js to keep track of the date and the fetch API to make calls to the Open Weather API for current and future weather data. Searches are stored in local storage and displayed as buttons to allow users to quickly pull up relevant weather data.

Usage

Screenshot Screenshot of Weather Dashboard

The user can enter any city listed in the Open Weather API and receive current weather data and forecast data for the next five days. Any cities that have been previously searched will show up in the left/top panel to easily display their current data again. When a city is searched the name of the city and current date are displayed, with an icon for the current conditions. Temperature, wind speed, humidity, and UV index are also displayed for the current moment.

Beneath the current data there are 5 cards, each displaying forecast weather data for the next 5 days, with each date at the top of the card. If a city is not available the user is directed to the Open Weather API website.

Link to deployed application

https://soundproofboot.github.io/weather-dashboard/

Credits

All code for this project is original but the concept was inspired by a project for U of M bootcamp.

Third-party APIs used

Moment.js https://momentjs.com/

OpenWeather API (Current Weather) https://openweathermap.org/current

OpenWeather API (One Call) https://openweathermap.org/api/one-call-api

weather-dashboard's People

Contributors

soundproofboot avatar

Watchers

 avatar

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.