๐ฆ๏ธ WeatherWise
Real-time weather forecasts for any location worldwide โ right in your browser.

๐ About
WeatherWise is a simple yet powerful weather forecast web app built with pure HTML, CSS, and JavaScript. It integrates with a live weather API to fetch real-time weather data for any city in the world โ showing temperature, humidity, wind speed, pressure, and a "feels like" reading โ all in a clean, responsive UI.
โจ Features
- ๐ City Search โ Search weather for any location worldwide
- ๐ก๏ธ Live Temperature โ Current temperature displayed in ยฐC
- ๐ค Feels Like โ Apparent temperature for better context
- ๐ง Humidity โ Real-time humidity percentage
- ๐จ Wind Speed โ Current wind conditions
- ๐ Pressure โ Atmospheric pressure readings
- ๐ Location Display โ Geo-tagged city name with map marker icon
- ๐จ Animated Background โ Dynamic GIF background for visual appeal
- ๐ฑ Responsive Design โ Works on desktop and mobile browsers
๐ ๏ธ Tech Stack
| Technology | Purpose |
|---|
| HTML5 | App structure & layout |
| CSS3 | Custom styling & animations |
| JavaScript (Vanilla) | API calls & DOM manipulation |
| Bootstrap 5.3 | Responsive grid & components |
| Font Awesome 5 | Icons (map marker, etc.) |
| Google Fonts (VT323) | Retro typography |
| OpenWeatherMap API | Live weather data |
๐ Project Structure
WeatherWise/
โโโ index.html # Main HTML structure
โโโ weather.css # Custom styles & layout
โโโ weather.js # API logic & DOM updates
โโโ weather_logo.png # App favicon/logo
โโโ bg.gif # Animated background
โโโ README.md # Project documentation
๐ Getting Started
Prerequisites
- A modern web browser (Chrome, Firefox, Edge, Safari)
- An API key from OpenWeatherMap (free tier works)
Installation
-
Clone the repository
git clone https://github.com/CodeBreaker-0111/WeatherWise.git
cd WeatherWise
-
Add your API Key
Open weather.js and replace the placeholder with your OpenWeatherMap API key:
const apiKey = "YOUR_API_KEY_HERE";
-
Run the app
Simply open index.html in your browser โ no build tools or server required!
# Option 1: Direct open
open index.html
# Option 2: Use VS Code Live Server extension for hot reload
๐ API Configuration
This project uses the OpenWeatherMap Current Weather API.
Steps to get your free API key:
- Sign up at openweathermap.org
- Navigate to My API Keys
- Copy your key and paste it into
weather.js
โ ๏ธ Note: Never commit your API key to a public repository. Consider using environment variables or a .env file for production deployments.
๐ธ Demo
Search for any city (e.g., Delhi, New York, Tokyo) to get instant weather data.
Default city on load: Delhi, India ๐ฎ๐ณ
๐ Live Demo
Deploy this on GitHub Pages:
- Go to Settings โ Pages
- Set source to
main branch โ /root
- Your app will be live at
https://codebreaker-0111.github.io/WeatherWise/
๐ฎ Future Improvements
๐ค Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
- Fork the repository
- Create your feature branch:
git checkout -b feature/YourFeature
- Commit your changes:
git commit -m 'Add YourFeature'
- Push to the branch:
git push origin feature/YourFeature
- Open a Pull Request
๐ License
This project is licensed under the MIT License โ see the LICENSE file for details.
MIT License โ Copyright (c) 2025 Aaditya Bansal
You are free to use, modify, and distribute this project with attribution.
๐จโ๐ป Author
Aaditya Bansal โ CodeBreaker-0111
Designed & Developed by Aaditya Bansal. All Rights Reserved.
"Built with curiosity and caffeine โ"
โญ If you found this useful, consider giving it a star on GitHub!