Table of Contents
Weather Forecasting application that displays a 3-day forecast of a desired location. Demonstrates the use of asynchronous functions and promises to gather and display weather data.
- npm
npm install npm@latest -g
- Get a free API Key at www.weatherapi.com
- Clone the repo
git clone https://github.com/daniel-citrus/weather-app.git
- Install NPM packages
npm install
- Enter your API in
src/scripts/weather.js
const API_KEY = 'ENTER YOUR API';
- API Request
- get user coordinates
- get data
- parse data
- Design
- Current weather
- Weather trend for the day
- High and low for the next 2 days
- Display gif/image related to the current weather
- F and C switcher
See the open issues for a full list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE.txt
for more information.