Skip to content

Samagra12725/Weather-Forecast

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌦️ Weather Forecast Website

A simple and dynamic weather forecast application using the OpenWeatherMap API.

📌 Overview

This project provides real-time weather updates for any city entered by the user. It features dynamic UI elements, weather icons based on conditions, and a responsive design to ensure seamless access across devices.

🚀 Features

  • Live Weather Updates – Fetch real-time weather conditions using OpenWeatherMap API.
  • Search Functionality – Users can enter any city to view weather details.
  • Dynamic Weather Icons – Displays images corresponding to the weather conditions.
  • Temperature, Humidity & Wind Speed – Detailed weather statistics.
  • Fully Responsive – Optimized for all screen sizes.
  • Dark Mode Theme – A clean dark UI for better readability.

🔧 Technologies Used

  • HTML5 – Structuring the web page
  • CSS3 – Styling and responsive design
  • JavaScript (ES6) – Handling API calls and DOM manipulation
  • OpenWeatherMap API – Fetching live weather data

📂 Project Structure

📂 Weather-Forecast/

  • 📜 index.html # Main HTML structure
  • 📜 style.css # Styling for UI elements
  • 📜 script.js # JavaScript for fetching API data
  • 📂 images/ # Weather icons (rain, snow, clouds, etc.)
  • 📜 README.md # Project documentation

🎯 How to Run

1️⃣ Clone this repository: git clone https://github.com/Samagra12725/weather-forecast.git

2️⃣ Open index.html in a browser.

3️⃣ Enter a city name in the search box to view the weather.

📌 API Configuration

  • Sign up at OpenWeatherMap to get your API key.

Live demo

https://samagra12725.github.io/Weather-Forecast/

🔧 Future Enhancements

  • Add hourly and weekly forecast support.
  • Implement geolocation-based weather detection.
  • Integrate radar maps for detailed weather visualization.
  • Contributions and suggestions are welcome! Feel free to open an issue or submit a pull request.

About

This website provides real-time weather forecasts using the OpenWeatherMap API, offering users detailed temperature, humidity, wind speed wrapped in a visually appealing, responsive interface.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages