Git Product home page Git Product logo

aywink / weather-forecast-web-app Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 23.25 MB

A weather forecast app which allows travellers to search for the current weather and the five day forecast for multiple cities, so that they can plan trips accordingly.

Home Page: https://aywink.github.io/Weather-Forecast-Web-App/

License: MIT License

CSS 12.16% HTML 20.98% JavaScript 66.86%
mobile-web openweather-api weather mobile-first-layout bootstrap5 carousel-component font-awesome jquery jquery-ui

weather-forecast-web-app's Introduction

Weather-Forecast-Web-App

Description

A weather application which allows travellers to search for the current weather and the five day forecast for multiple cities, so that they can plan trips accordingly.

Application usage on a large screen is demonstrated below.
App Demo

The gif below showcases the responsive layout at various device sizes.
Responsive Demo

Deployment

The app is deployed using GitHub Pages at: https://aywink.github.io/Weather-Forecast-Web-App/

Usage

End User

Search for the weather forecast using the search box. Specify the country code (seperated by a comma after the city name) to always obtain the correct weather. View history in the dropdown menu by clicking the search box. Recent searches appear at the top. Alternatively narrow down previously searched cities with the autocomplete feature. Note that only valid cities will be saved to the search history. Clear all saved searches by clicking on the rubbish bin icon in the top right of the app.

The user is able to scroll through the five day forecast using the buttons found at the bottom. The buttons disappear to indicate when the user has scrolled to the beginning or the end.

Development

Files are named appropriately and placed in a logically structured folder layout. The codebase includes comments and appropriately named expressions, so that the code is easy to understand. The JavaScript file only contains functions with no variables in the global scope that could interfere with future development. The app.js file also includes logic for a custom carousel component.

The initial layout of the webpage consists of the header, search form, and footer. Containers for the current weather and five-day forecast sections are also included in the layout; however, the containers are initially hidden using CSS.

Bootstrap and jQuery UI frameworks, along with a custom styles sheet, are used to style the web application.

The application is developed using jQuery, jQueryUI (Autocomplete) and moment.js third party APIs. Weather data is obtained using the OpenWeather API.

Credits

License

MIT License

weather-forecast-web-app's People

Contributors

aywink avatar

Watchers

 avatar

weather-forecast-web-app's Issues

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.