click the live link of the web application "https://weatherapi0220.netlify.app/"
A modern weather web app that provides real-time weather updates for any city worldwide along with automatic location detection.
- π Search weather by city name
- π Detect current location using Geolocation API
- π‘ Real-time temperature (Β°C)
- π₯ Weather condition with dynamic icons
- π§ Humidity tracking
- π¬ Wind speed display
- π€ Feels-like temperature
- β³ Loading state & error handling
- HTML5 β Structure
- CSS3 β UI (Glassmorphism design)
- JavaScript (ES6) β Logic & API handling
- OpenWeatherMap API β Weather data
π Weather-App
βββ index.html
- Clone the repository:
git clone https://github.com/your-username/weather-app.git
- Navigate to project folder:
cd weather-app
-
Get your API key from OpenWeatherMap
-
Replace the API key inside
script.js:
const apiKey = "0e9f8f81332f993e6dec5a77b6b15449";- Open
index.htmlin your browser
- OpenWeatherMap Current Weather API
- Deploy using Netlify
- Handles asynchronous API calls using
fetch() - Implements browser Geolocation API
- Clean UI with responsive design
- Robust error handling for invalid inputs and API failures
- π 5-day weather forecast
- π Dark / Light mode toggle
- π Search history
- π± Fully responsive mobile UI
- β‘ Animations & transitions
This project is open-source and free to use.
Made with π by Bhavya Shany