Skip to content

usama247550/weather-app-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌦️ Weather App

A simple and interactive Weather Application built using HTML, CSS, and JavaScript that allows users to check real-time weather conditions and a 5-day forecast for any city.

🚀 Features

🌍 Search weather by city name

🌡️ Displays temperature, condition, humidity, and wind speed

📅 5-day weather forecast

🎥 Animated video background

⏳ Loader animation while fetching data

❌ Error handling for invalid city names

📱 Responsive and clean UI

🛠️ Technologies Used

HTML5 – Structure

CSS3 – Styling & layout

JavaScript (ES6) – Logic & API handling

WeatherAPI – Real-time weather data

📂 Project Structure

weather-app/
│
├── index.html
├── style.css
├── script.js
├── images/
│   ├── background.jpeg
│   ├── background2.jpeg
│   ├── backgroundVideo.mp4
│   └── cloud.jpeg
└── README.md
  

⚙️ How to Run the Project

Clone the repository:

git clone https://github.com/usama247550/weather-app-js.git

Open the project folder

Open index.html in your browser

✅ No additional setup required

🏙️ Default City

The app loads weather data for Faisalabad by default:

let defaultCity = "faisalabad";

You can change it in script.js.

📌 Future Improvements

🌙 Dark / Light mode

📍 Auto-detect user location

🔐 Secure API key handling

📊 Hourly forecast

🤝 Contributing

👨‍💻 Author

Usama MERN Stack Developer

GitHub: https://github.com/usama247550

LinkedIn: https://www.linkedin.com/in/usama-javed-112186320

⭐ Show Your Support

If you like this project, give it a ⭐ on GitHub!

About

Simple and responsive weather application built with HTML, CSS, and JavaScript. Fetches real-time weather data and 5-day forecast using WeatherAPI with a modern animated UI.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors