Skip to content

anchallll02/weather_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🌦️ Weather App

A responsive weather application built using HTML, CSS, and JavaScript with Weather API integration.
This project provides real-time weather information for different cities using API requests and dynamic UI updates.


🚀 Features

  • Real-time weather updates
  • Search weather by city name
  • Temperature display
  • Humidity information
  • Wind speed details
  • Weather condition icons
  • Responsive user interface
  • API integration
  • Dynamic data fetching

🛠️ Tech Stack

Frontend

  • HTML5
  • CSS3
  • JavaScript

API

  • OpenWeather API / Weather API

📂 Project Structure

weather-app/
│
├── index.html
├── style.css
├── script.js
├── assets/
└── README.md

⚙️ Installation

Clone the Repository

git clone https://github.com/your-username/weather-app.git
cd weather-app

▶️ Run the Project

Simply open the index.html file in your browser.

Or use Live Server in VS Code.


🔑 API Key Setup

Get your API key from:

  • OpenWeatherMap API

Add your API key inside script.js

const apiKey = "YOUR_API_KEY";

🌐 How It Works

  1. User enters a city name.
  2. JavaScript sends API request.
  3. Weather data is fetched dynamically.
  4. Weather information is displayed on the UI.

🔥 Features Implemented

  • API fetching using Fetch API
  • Dynamic DOM manipulation
  • Real-time weather updates
  • Responsive design
  • Error handling for invalid cities

📸 Screenshots

Add your screenshots here.

screenshots/home.png
screenshots/weather-result.png

📈 Future Improvements

  • 7-day weather forecast
  • Geolocation support
  • Dark mode
  • Weather animations
  • Hourly forecast
  • Multiple city tracking

🧠 Learning Outcomes

Through this project, I learned:

  • API integration
  • Fetch API usage
  • JavaScript DOM manipulation
  • Asynchronous programming
  • Responsive web design
  • Error handling
  • Dynamic UI updates

🤝 Contributing

Contributions are welcome.

  1. Fork the repository
  2. Create a new branch
  3. Commit changes
  4. Push the branch
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License.


👩‍💻 Author

Anchal Maurya
Frontend Developer 🚀

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors