Skip to content

anoopcodehack/weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌦️ 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

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors