Skip to content

NainaKothari-14/weather-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌀️ Weather App

A clean and responsive weather app built with HTML, CSS, and JavaScript that fetches real-time weather data using the OpenWeatherMap API.


πŸ“Έ Screenshots

Mumbai Weather Β  Delhi Weather


πŸš€ Features

  • πŸ” 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

πŸ› οΈ Built With

Technology Usage
HTML5 Structure & layout
CSS3 Styling & responsiveness
JavaScript (Vanilla) API calls & DOM manipulation
OpenWeatherMap API Real-time weather data

πŸ“‚ Project Structure

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

βš™οΈ Getting Started

Prerequisites

Run Locally

  1. Clone the repository

    git clone https://github.com/NainaKothari-14/weather-website.git
  2. Navigate into the project folder

    cd weather-website
  3. Add your API key
    Open index.html and replace the apiKey value with your own:

    const apiKey = "your_api_key_here";
  4. Open index.html in your browser
    Just double-click the file β€” no server needed!


🌦️ Supported Weather Conditions

Icon Condition
Clouds
Clear
Rain
Drizzle
Mist
Snow

πŸ‘©β€πŸ’» Author

Naina Kothari
GitHub: @NainaKothari-14

About

🌀️ A weather app built with HTML, CSS & JavaScript that shows real-time temperature, humidity, and wind speed using the OpenWeatherMap API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors