A simple and responsive React-based Weather App that allows users to fetch real-time weather details for any city using the OpenWeatherMap API. Built using React, Material UI, and modern JavaScript practices.
- 🔍 Search weather by city name
- 🌡️ Get temperature, humidity, min/max temperature, and "feels like" info
- 📄 Error handling for invalid or unknown cities
- 🎨 Clean and responsive UI using Material UI
- 📦 Built with React functional components and hooks (
useState)
- Frontend: React, HTML, CSS, Material UI
- API: OpenWeatherMap API
**FrontPage-
**After Search-
**if an invalid search -
**After search - 
-
Clone the repo
git clone https://github.com/Charul192/weather-app.git cd weather-app -
Install dependencies
npm install
-
Add your OpenWeatherMap API key Replace "Enter-Your-API-Key" in SearchBox.jsx with your actual API key.
-
Run the app
npm run dev
/src
├── App.jsx
├── SearchBox.jsx
├── SearchBox.css
└── main.jsx- Made with ❤️ by Charul192
- Feel free to connect or contribute!