๐ฆ๏ธ Weather App
A simple and responsive Weather Application built using HTML, CSS, JavaScript, and Tailwind CSS. It allows users to search for a city and get real-time weather information instantly.
๐ Features
๐ Search weather by city name
โณ Loading indicator while fetching data
โ Error handling for invalid city names
๐จ Modern UI with Tailwind CSS gradient background
๐ฑ Fully responsive design
๐ ๏ธ Tech Stack
HTML5 โ Structure
CSS3 โ Styling
Tailwind CSS โ UI & responsiveness
JavaScript (Vanilla JS) โ Logic & API handling
๐ Project Structure WEATHER_SITE/ โ โโโ weather/ โ โโโ index.html # Main HTML file โ โโโ script.js # JavaScript logic โโโ style.css # Custom styles โโโ README.md # Project documentation
โ๏ธ How It Works
User enters a city name in the input field
Clicks Get Weather
JavaScript fetches weather data from an API
Weather details are displayed dynamically
Errors are shown if the city is not found
๐งช How to Run Locally
Clone the repository
git clone https://github.com/anoopcodehack/weather.git
Open index.html in your browser (No server required)
๐ธ Preview
Clean UI with gradient background, centered layout, and smooth interactions.
(You can add screenshots later if you want)
๐ Future Improvements
๐ก๏ธ Temperature unit toggle (ยฐC / ยฐF)
๐ Auto-detect user location
๐ค๏ธ Weather icons & animations
๐ 5-day forecast
๐ง Learning Outcome
DOM manipulation using JavaScript
API fetching and error handling
Tailwind CSS utility-first styling
Building real-world mini projects
๐จโ๐ป Author
Anoop A GitHub: https://github.com/anoopcodehack