// Loading...
Follow these simple steps to set up and run the Advanced Weather App on your local computer.
Download the ZIP file from this page and extract it to your preferred folder.
Example:
Weather-App/
βββ index.html
βββ css/
βββ js/
βββ assets/
βββ README.md
Open the project folder using any modern code editor such as:
This project requires a free API key.
Visit:
https://openweathermap.org/api
Create a free account and generate your API key.
API activation may take 10–30 minutes after creation.
There are two ways to use your API key.
Run the application.
A setup banner will appear at the top.
Paste your API key.
Click
Save & Activate Key
The key will be stored securely in your browser's Local Storage.
Open
js/api.js
Replace
const API_KEY = "YOUR_API_KEY";
with
const API_KEY = "YOUR_REAL_API_KEY";
Simply open
index.html
in your browser.
Or use
For Current Location Weather,
allow browser location access.
This enables:
The Weather App requires an active internet connection because it fetches live weather data from the API.
Without internet,
Demo/Fallback mode will load automatically.
β Live Weather
β Current Location
β City Search
β Voice Search
β Temperature in °C / °F
β 24-Hour Forecast
β 7-Day Forecast
β AQI
β UV Index
β Humidity
β Pressure
β Wind Speed
β Wind Direction
β Visibility
β Sunrise
β Sunset
β Dynamic Background
β Temperature Chart
β Interactive Map
β Favorite Cities
β Search History
β Dark Mode
β Screenshot Download
β Text To Speech
β Responsive Design
β Local Storage Support
β Demo Mode
This project works perfectly on
Latest browser versions are recommended.
Weather-App/
β
βββ index.html
βββ css/
β βββ style.css
β βββ responsive.css
β
βββ js/
β βββ api.js
β βββ app.js
β βββ forecast.js
β βββ chart.js
β βββ storage.js
β
βββ assets/
β βββ icons/
β βββ images/
β
βββ README.md
You can easily customize:
If you encounter any issues while setting up the project:
This guide helps users get the Weather App running quickly while understanding how to configure, customize, and troubleshoot the project.
HTML5, CSS3, JavaScript
Yes, you can download the complete Weather App source code for free and customize it according to your project requirements.
This project is built using HTML5, CSS3, JavaScript (ES6), Fetch API, Local Storage, and a live weather API.
Yes, the Weather App is fully responsive and works smoothly on desktop, tablet, and mobile devices.
Yes, it integrates a live weather API to display current weather conditions, hourly forecasts, and 7-day forecasts.
Absolutely. The source code is clean, well-structured, and beginner-friendly with easy-to-understand JavaScript code.
Yes, you can use this project in your portfolio, educational assignments, or personal learning projects.