This project is a web app through which you can search the weather of any city
Web technologies used: HTML5, CSS3 and JavaScript
API used: OpenWeatherMap API
Click the link in About section to use the weather app.
(Note: Valid format is city name (Brampton) or city name, country code (Brampton,ca). )
- Enter the location (name or name with country code) of a city you want to search weather info for. For example, Brampton or Brampton,ca.
- After entering the name in a valid format, click on 'Submit' button to display the weather info. The result will be displayed in a white rectangle box.
- Clone the project or download the zip file and unzip it
- Click on index.html and open it with any compatible web browser like Chrome, Edge, Opera or Firefox
- You will see the web page with weather app heading and text field.
(If you want to use my .js file, please use your own API key. Go to OpenWeatherMap and make an account. You will get free API Key. Look for API key comment in .js file and replace my API key with your own API key in .js file.)
Serach the weather of California, Toronto and Waterloo.
Seraching the same city again.
Enter an invalid input or city name.
MIT License Copyright (c) 2020 Dev-Daljeet
Refer to LICENSE file for full information.