Giter Site home page Giter Site logo

jfisher396 / weather-dashboard Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 390 KB

A web-app for checking the current weather and 5-day forecast for a city.

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

HTML 38.60% JavaScript 54.59% CSS 6.81%
weather weather-dashboard

weather-dashboard's Introduction

Weather Dashboard

A web-app for checking the current weather and 5-day forecast for a city.

A deployed version can be viewed here.

Contents

  1. About
    1. User Story
    2. Acceptance criteria
    3. Visuals
    4. Data
    5. Build
  2. Setup
  3. Credits
  4. License
  5. Contributing

About

Developers are often tasked with retrieving data from another application's API and using it in the context of their own. Third-party APIs allow developers to access their data and functionality by making requests with specific parameters to a URL. Your challenge is to build a weather dashboard that will run in the browser and feature dynamically updated HTML and CSS.

User Story

AS A traveler
I WANT to see the weather outlook for multiple cities
SO THAT I can plan a trip accordingly

Acceptance Criteria

GIVEN a weather dashboard with form inputs
WHEN I search for a city
THEN I am presented with current and future conditions for that city and that city is added to the search history
WHEN I view current weather conditions for that city
THEN I am presented with the city name, the date, an icon representation of weather conditions, the temperature, the humidity, the wind speed, and the UV index
WHEN I view the UV index
THEN I am presented with a color that indicates whether the conditions are favorable, moderate, or severe
WHEN I view future weather conditions for that city
THEN I am presented with a 5-day forecast that displays the date, an icon representation of weather conditions, the temperature, and the humidity
WHEN I click on a city in the search history
THEN I am again presented with current and future conditions for that city
WHEN I open the weather dashboard
THEN I am presented with the last searched city forecast 

Visuals:

Screenshot of load page

Data

The application uses the following data inputs:

Build

  • In HTML semantic tags have been used to aid with accessibility.
  • The site is built using Bulma CSS framework.
    • The use of Bulma minimises the need for media queries.
    • See Bulma documentation for customizing the site with their provided options
  • jQuery powers the dynamic rendering of the html content based on user input
  • moment.js is used to manipulate date values for historic data extraction from APIs

Setup

To clone the repo:

git clone [email protected]:jfisher396/weather-dashboard.git

Credits

James Fisher

License

Built by James Fisher. This application is released under MIT license.

Contributing

To contribute to this application, create a pull request. Here are the steps needed for doing that:

  • Fork the repo
  • Create a feature branch (git checkout -b NAME-HERE)
  • Commit your new feature (git commit -m 'Add some feature')
  • Push your branch (git push)
  • Create a new Pull Request

Following a code review, your feature will be merged.

=======

weather-dashboard's People

Contributors

jfisher396 avatar

Stargazers

Erin  avatar

Watchers

 avatar

Forkers

solohuck

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.