Giter Club home page Giter Club logo

weather-app's Introduction

About The Project

Weather app created with HTML, CSS and JS.

Live Demo

screenshot

Learning project from The Odin Project curriculum.

Features

  • Explore cities across the globe.
  • Retrieve the present and next two days' weather outlook.
  • Toggle between the imperial and metric measurement systems.
  • Ensure adaptability across different screen sizes with responsive design.

Built With

Technologies

  • JavaScript
  • CSS
  • HTML

Third party code

Tools

  • Visual Studio Code
  • Git and GitHub
  • Webpack
  • ESLint + Airbnb JavaScript Style Guide
  • Prettier

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You will need Node.js and npm installed globally on your machine.

Installation

  1. Get a free API key at https://www.weatherapi.com
  2. Clone the repo
    git clone https://github.com/YasenYanev/weather-app.git
  3. Install NPM packages
    npm install
  4. Enter your API key in ./src/fetch-weather.js
    const API_KEY = 'YOUR API KEY';
  5. Build an app
    npm run build

Usage

  • Open ./dist/index.html file with browser.

Outcome

  • Organized code effectively.
  • Used Webpack for building.
  • Managed the project with Git and GitHub.
  • Added a library for date and time formatting.
  • Designed layout using CSS3 grid and flex.
  • Improved code structure with the revealing module pattern.
  • Learned basic error handling.
  • Fetched data using a public API.
  • Enhanced readability and structure with HTML5 semantics.

Authors

YasenYanev

weather-app's People

Contributors

yasenyanev 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.