π¦ Weather Notification Web App
A simple and elegant weather website that shows real-time weather updates for any city and sends browser notifications using the OpenβMeteo API.
This project is built using HTML, CSS, and JavaScript and is deployed on GitHub Pages.
π Live Demo
π https://USERNAME.github.io/weather-app/
π Project Description (for GitHub)
A lightweight weather web app that fetches live temperature and wind data by city name and displays browser notifications using modern JavaScript APIs.
β¨ Features
- π Search weather by city name
- π‘ Displays temperature in Β°C
- π¨ Shows wind speed (km/h)
- π Browser notification alerts
- β‘ Fast & lightweight
- π Free OpenβMeteo API (no API key required)
π Technologies Used
- HTML5
- CSS3
- JavaScript (ES6)
- OpenβMeteo Weather API
- Browser Notifications API
- GitHub Pages (Hosting)
π Project Structure
weather-app/
βββ index.html
βββ style.css
βββ script.js
βββ README.md
π How to Run Locally
-
Download or clone this repository
-
Open index.html in a browser
OR
-
Use VS Code Live Server extension
π Deployment (GitHub Pages)
- Push project to a GitHub repository
- Go to Settings β Pages
-
Select:
- Branch:
main
- Folder:
/root
- Save and wait a few seconds
- Your site will be live π
π Notification Notes
- Notifications work only on HTTPS (GitHub Pages supported)
- User must allow notification permission
- Notifications trigger after clicking the button (browser security rule)
π§ Future Improvements
- π Auto-detect user location
- β° Daily weather alerts
- π€ Weather icons & animations
- π Forecast charts
- βοΈ Backend with Node.js & Express
π License
This project is open-source and free to use for learning purposes.
β If you like this project, give it a star on GitHub!