8000 GitHub - mirazahmeed/weather-app · GitHub
[go: up one dir, main page]

Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

8000

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

🌤 Weather App

A modern, responsive Weather Application built using HTML, CSS, and JavaScript only. It provides real-time weather data, country-based browsing, city autocomplete, favorites, and mobile-friendly navigation.


✨ Features

  • 🌍 Search weather by city
  • 🔍 City autocomplete suggestions
  • 🏳 Browse all countries with flags
  • ⭐ Favorite countries
  • 📱 Mobile-friendly sidebar with gestures
  • 🌦 Real-time weather data
  • ⚡ Progressive Web App (PWA) support

🛠 Tech Stack

  • HTML5
  • CSS3
  • Vanilla JavaScript
  • WeatherAPI
  • Service Workers (PWA)

📁 Project Structure

WEATHER/
│── index.html
│── style.css
│── script.js
│── countries.json
│── sw.js
│── manifest.json
│── icon-192.png
│── icon-512.png

🚀 Getting Started

  1. Clone or download the project
  2. Open index.html in your browser (Use a local server for best results — required for PWA)

Example:

npx serve

🔑 API Key

This project uses WeatherAPI.

Update the API key in script.js if needed:

const API_KEY = "YOUR_API_KEY_HERE";

Get your free API key from: 👉 https://www.weatherapi.com/


📱 PWA Support

  • Installable on mobile and desktop
  • Offline support via service worker
  • Fast and lightweight

📌 Notes

  • No frameworks used
  • No backend required
  • Designed for learning, portfolios, and demos

📄 License

Free to use and modify for personal or educational purposes.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0