- Search weather for any city
- Live temperature updates
- Current weather conditions
- Dynamic weather information
- 5-day weather forecast
- Hourly weather graph
- Smooth Chart.js visualizations
- Responsive graph design
- Mobile-friendly scrolling charts
- Glassmorphism design
- Responsive layout
- Dynamic backgrounds
- Smooth weather cards
- Mobile optimized interface
- Humidity
- Wind Speed
- Pressure
- UV Index
- Sunrise & Sunset
- Rain Probability
- Max/Min Temperatures
| Technology | Usage |
|---|---|
| HTML5 | Structure |
| CSS3 | Styling & Responsive Design |
| JavaScript | Functionality |
| WeatherAPI | Weather Data |
| Chart.js | Graphs & Forecast Charts |
| RapidAPI | API Gateway |
Weather-App/
β
βββ index.html
βββ style.css
βββ script.js
βββ graph.js
βββ hourly-graph.js
βββ weather_api.js
βββ config.js
βββ public/
β βββ rain.jpg
β βββ clear.avif
β βββ default.jpg
β βββ clear-night.jpg
β βββ cloudy_night.jpg
β
βββ README.mdgit clone https://github.com/your-username/weather-app.gitcd weather-appCreate a config.js file:
export const API_KEY = "YOUR_API_KEY";Use VS Code Live Server or open index.html.
This project uses:
- Current Weather API
- Forecast API
- Hourly Forecast API
Powered through RapidAPI.
The app is fully responsive for:
β Desktop β Tablets β Mobile Devices
- Max temperature line
- Min temperature line
- Dynamic labels
- Smooth curves
- Rolling 24-hour forecast
- Real-time hourly temperatures
- Mobile scrolling graph
- Dynamic AM/PM labels
- π Geolocation support
- π Dark/Light theme toggle
- π§οΈ Weather animations
- π Weekly forecasts
- π Weather alerts
- πΊοΈ Interactive weather maps
- π‘οΈ Unit conversion (Β°C / Β°F)
This project helped in learning:
- API integration
- ES6 Modules
- Async/Await
- DOM Manipulation
- Responsive Design
- Chart.js Integration
- Mobile-first UI
- Git & GitHub workflow
Contributions are welcome.
- Fork the repository
- Create a new branch
- Commit changes
- Push changes
- Open a Pull Request
This project is open source and available under the MIT License.
- GitHub: https://github.com/Om-Handa

