
The deployed version is avilable here.
- Location-Based Weather: Fetches weather based on your location
- City Search: Look up weather for any city
- HTML: For Structure
- CSS: Styling and responsiveness
- JavaScript: Handles real-time data
- API: OpenWeatherMap for weather data
Run the following commands to clone and navigate into the project:
git clone https://github.com/itsjomon/weather-app.git
cd weather-app
-or-
- Fork this repository on GitHub.
- Clone your fork.
git clone https://github.com/your-username/your-forked-repository-name.git
cd your-forked-repository-name
Note
This project requires an API key from OpenWeather. Do not use the API key provided in the code—it is for demonstration purposes only and may not work for you.
- Sign up on OpenWeather and generate your API key.
- Open the
script.js
file. - Find the following line & Replace the API KEY with your own API key:
const API_KEY = "api_key";
If you find this project useful, please consider giving it a star ⭐. It helps others discover it too!