A clean and responsive weather app built with HTML, CSS, and JavaScript that fetches real-time weather data using the OpenWeatherMap API.
- π Search weather by city name
- π‘οΈ Displays real-time temperature in Β°C
- π§ Shows humidity percentage
- π¨ Shows wind speed in km/h
- π¦οΈ Dynamic weather icons based on conditions
β οΈ Error handling for invalid city names- π± Responsive design for all screen sizes
| Technology | Usage |
|---|---|
| HTML5 | Structure & layout |
| CSS3 | Styling & responsiveness |
| JavaScript (Vanilla) | API calls & DOM manipulation |
| OpenWeatherMap API | Real-time weather data |
weather-website/
βββ index.html # Main app file
βββ asset/
β βββ style.css # Stylesheet
β βββ image/
β βββ search.png
β βββ humidity.png
β βββ wind.png
β βββ clouds.png
β βββ clear.png
β βββ rain.png
β βββ drizzle.png
β βββ mist.png
β βββ snow.png
βββ sceenshots/
βββ Mumbai.png
βββ Delhi.png
- A web browser
- A free API key from OpenWeatherMap
-
Clone the repository
git clone https://github.com/NainaKothari-14/weather-website.git
-
Navigate into the project folder
cd weather-website -
Add your API key
Openindex.htmland replace theapiKeyvalue with your own:const apiKey = "your_api_key_here";
-
Open
index.htmlin your browser
Just double-click the file β no server needed!
| Icon | Condition |
|---|---|
| Clouds | |
| Clear | |
| Rain | |
| Drizzle | |
| Mist | |
| Snow |
Naina Kothari
GitHub: @NainaKothari-14

