Skip to content

DurgA-5/whether_predict

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌦️ Weather Predictor

Weather Predictor is a simple and interactive web application that allows users to check the current weather and 5 to 10-day forecasts of any city around the world. It uses real-time data from a weather API to display essential weather information in a clean and user-friendly layout.

It is especially useful for travelers, event planners, outdoor enthusiasts, or anyone who needs quick and accurate weather information. The app is lightweight, fast-loading, and accessible on both desktop and mobile browsers.

πŸ” Features

πŸ”Ž Search weather by city name

🌑️ Displays current temperature, humidity, pressure, and wind speed

πŸ§’ Real-time data updates

πŸ—•οΈ 5 or 10-day forecast with high/low temperatures and weather icons

🎨 Responsive and modern UI using HTML, CSS, and JavaScript

☁️ Integrates with free weather APIs (like OpenWeatherMap)

πŸ”Ή Weather condition icons (sunny, rainy, cloudy, etc.)

πŸ”Ή Simple error handling for invalid city names

πŸ› οΈ Tech Stack

Frontend: HTML5, CSS3, JavaScript (ES6)

Weather API: OpenWeatherMap API

Tools Used: Visual Studio Code, Git, GitHub

πŸ“· Screenshots image image

πŸš€ Getting Started

Prerequisites

A modern web browser (Chrome, Firefox, Edge)

Internet connection for fetching real-time data

Installation

Clone the repository:

site is live at https://durga-5.github.io/whether_predict/ and also at https://whetherpredicator.netlify.app/

Navigate to the project folder:

cd weather-predictor

Open index.html in your browser or run with a live server.

API Setup

Go to OpenWeatherMap

Sign up and get your API key

πŸ“ Project Structure

weather-predictor/ | β”œβ”€β”€ index.html # Main HTML file β”œβ”€β”€ style.css # Styling file β”œβ”€β”€ script.js # JavaScript logic β”œβ”€β”€ assets/ # Icons, images └── README.md # Project documentation

βœ… Use Cases

Check weather before traveling

Plan outdoor events or activities

Students learning about API integration

Frontend development practice

✨ Future Improvements

Add location-based weather prediction using Geolocation API

Enable voice search

Add hourly forecast and interactive charts

Deploy online using Netlify or GitHub Pages

Add multi-language support

Show weather alerts or warnings

πŸ§‘β€πŸ’» Author

Durga Prasad PapuganiEmail: papuganidurgaprasad@gmail.com GitHub: (https://github.com/DurgA-5)

πŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Whether Predicator Basic Learning Project

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors