Skip to content

Simple app that uses OpenWeather's API to get weather in multiple locations

Notifications You must be signed in to change notification settings

puvvadaharsha/WeatherLocations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherLocations

This is a simple responsive app that uses OpenWeather's API to get weather in multiple locations. App uses Fetch API to get weather data.

Screenshots

Desktop Image This is how it looks on a desktop.

Mobile Image This is how it looks on a Mobile.

Technologies Used:

HTML, CSS, Javascript, Fetch API

To run:

  1. Get an API key by signing up on OpenWeather API: https://openweathermap.org/api
  2. Create a file called "API.js" and place it into the WeatherLocations Directory and add your API key with the following code :
class API{
    constructor(){
        this.apiKey = 'PUT_YOUR_API_KEY_HERE';
    }
    getKey(){
        return this.apiKey;
    }
}
  1. Delete the .gitignore file
  2. Launch in browser and run

About

Simple app that uses OpenWeather's API to get weather in multiple locations

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published