Skip to content

prasoon-develop/weather-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌦️ Weather Tracker

Weather Tracker Preview

A modern weather intelligence application built using HTML5, CSS3, JavaScript (ES6+), OpenWeatherMap API, and Local Storage.

Weather Tracker provides real-time weather information, location-based forecasts, persistent search history, offline awareness, and a modern glassmorphism interface designed to deliver a smooth and responsive user experience.


πŸš€ Live Demo & Repository

🌐 Live Application

https://divyaprasoon-weather-tracker.vercel.app/

πŸ“‚ GitHub Repository

https://github.com/prasoon-develop/weather-tracker


πŸ“Œ Project Overview

Weather Tracker is a real-time weather monitoring web application that allows users to search weather conditions for cities worldwide or automatically retrieve weather information based on their current location.

The application integrates external APIs, browser geolocation services, local storage persistence, and performance optimization techniques to provide a reliable and user-friendly experience.

Designed with a modern dashboard-style interface and glassmorphism effects, the project focuses on both functionality and visual appeal while maintaining clean code practices and responsive design principles.


✨ Core Features

🌍 Real-Time Weather Monitoring

  • City-Based Weather Search
  • Current Temperature Display
  • Weather Condition Description
  • Humidity Monitoring
  • Dynamic Weather Icons
  • Real-Time Data Retrieval

πŸ“ Geolocation Support

  • Automatic Location Detection
  • Browser Geolocation API Integration
  • Instant Local Weather Updates
  • User Permission Handling

πŸ” Smart Search Experience

  • Persistent Search History
  • Local Storage Integration
  • Quick Access to Recent Searches
  • Improved User Convenience

⚑ Performance Optimization

  • Debounced Search Requests
  • Reduced API Calls
  • Efficient Data Fetching
  • Improved Application Responsiveness

🌐 Connectivity Awareness

  • Online Status Detection
  • Offline Status Detection
  • Real-Time Network Monitoring
  • User Notification Banner

🎨 Modern User Interface

  • Glassmorphism Design
  • Dashboard-Inspired Layout
  • Modern Card Components
  • Responsive Design
  • Mobile-Friendly Experience
  • CSS Animations

πŸ—οΈ Project Architecture

weather-tracker/
β”‚
β”œβ”€β”€ index.html
β”œβ”€β”€ style.css
β”œβ”€β”€ script.js
└── assets/
    └── weather-tracker-preview.png

πŸ”₯ Technology Stack

Layer Technology
Frontend HTML5, CSS3, JavaScript (ES6+)
API Integration OpenWeatherMap API
Browser APIs Geolocation API, Local Storage API, Network Status API
Networking Fetch API
Deployment GitHub, Vercel

βš™οΈ Engineering Highlights

API Integration

Integrated the OpenWeatherMap API to fetch accurate and real-time weather information for cities across the globe.

Geolocation Services

Implemented browser geolocation functionality to automatically detect user location and retrieve corresponding weather data.

Local Storage Persistence

Stored search history using Local Storage to improve usability and provide quick access to previously searched locations.

Performance Optimization

Implemented Debouncing techniques to prevent excessive API requests and improve application efficiency during user input.

Offline Resilience

Utilized the Browser Network Status API to detect connectivity changes and notify users when the application goes offline.

Dynamic UI Rendering

Built a dynamic weather visualization interface using DOM manipulation techniques, enabling instant updates without page reloads.

Modern Frontend Engineering

Applied responsive design principles, CSS animations, glassmorphism effects, and interactive UI rendering to create a polished user experience.


πŸ“Š Application Workflow

User Search / Geolocation
            β”‚
            β–Ό
     Weather Request
            β”‚
            β–Ό
   Debounced API Call
            β”‚
            β–Ό
 OpenWeatherMap API
            β”‚
            β–Ό
  Weather Data Processing
            β”‚
            β–Ό
 Dynamic UI Rendering
            β”‚
            β–Ό
 Local Storage Update

🎯 Learning Outcomes

This project demonstrates practical experience with:

  • REST API Integration
  • Fetch API
  • Asynchronous JavaScript
  • Async/Await
  • Browser Geolocation API
  • Local Storage
  • Network Status API
  • Event Handling
  • DOM Manipulation
  • Debouncing Techniques
  • Responsive Web Design
  • CSS Animations
  • Error Handling

πŸ“… Project Timeline

Project Type: Portfolio Project

Development Period: October 2025 – November 2025

Phase 1 β€” October 2025

  • Project Architecture Design
  • OpenWeatherMap API Integration
  • Dynamic Weather Retrieval

Phase 2 β€” November 2025

  • Search History Persistence
  • Glassmorphism UI Design
  • Responsive Layout Improvements

Phase 3 β€” November 2025

  • Debouncing Implementation
  • Offline Detection System
  • Performance Optimization
  • Enhanced User Experience

πŸš€ Future Enhancements

Planned improvements include:

  • 7-Day Weather Forecast Support
  • Air Quality Index Tracking
  • Progressive Web App (PWA) Support
  • Multiple City Comparison Dashboard
  • Weather Alerts & Notifications
  • Advanced Climate Insights

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

Divya Prasoon

B.E. Computer Science Engineering (Data Science)

Chandigarh University


⭐ Project Highlights

βœ” Real-Time Weather Monitoring

βœ” OpenWeatherMap API Integration

βœ” Browser Geolocation Support

βœ” Local Storage Persistence

βœ” Debounced Search Optimization

βœ” Offline Detection System

βœ” Dynamic UI Rendering

βœ” Glassmorphism User Interface

βœ” Responsive Design

βœ” Modern Frontend Engineering

βœ” Portfolio-Ready Project


Delivering Real-Time Weather Insights Through Modern Web Development 🌦️

About

A modern, high-performance Weather Tracker application providing real-time climate data, location-based forecasts, and smart search history with a glassmorphism dashboard.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors