Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✦ CALENDAR

A glassmorphic calendar app with month, week & day views, drag-to-reschedule, recurring events, and color labels — built in pure HTML, CSS & JS.


HTML CSS JavaScript No Dependencies Local Storage


Month · Week · Day · Drag & Drop · Recurring · Color Labels · Upcoming Panel



✦ Features

📅 Three Views

View Description
Month 6-week grid with up to 3 event chips per day and overflow count
Week 7-column hourly grid, events positioned by exact start/end time
Day Single-column hourly timeline showing title, time, and notes

🖱️ Drag & Drop

Drag any event chip to a new day in month or week view to instantly reschedule it.

🔁 Recurring Events

Set any event to repeat:

Mode Behaviour
None One-time event
Daily Repeats every day
Weekly Repeats on the same weekday
Monthly Repeats on the same date each month

🎨 Color Labels

8 color swatches per event — purple, cyan, pink, yellow, green, orange, teal, rose.

🕐 Current Time Indicator

A glowing red line in week and day views shows exactly where you are right now.

📋 Sidebar

  • Mini calendar — click any day to jump to Day view, dots show days with events
  • Upcoming panel — next 30 days of events sorted by date and time, click to jump

💾 Persistent Storage

All events saved to localStorage — survive page refresh and browser restarts.


✦ Getting Started

git clone https://github.com/heyfaraninam/Calendar.git
cd calendar
open index.html

No build step. No npm. No config.


✦ File Structure

calendar/
├── index.html     # Layout, topbar, sidebar, modal, views
├── styles.css     # Glassmorphism, grid layouts, event chips, modal
└── script.js         # Calendar logic, recurring events, drag & drop, localStorage

✦ Keyboard & Interaction

Action How
Create event Click any cell or + Event button
Edit event Click any event chip
Delete event Open event → Delete button
Reschedule Drag event to new day
Navigate ‹ › arrows or mini calendar
Jump to today Today button in topbar

✦ Browser Support

Browser Support
Chrome 76+ ✅ Full
Firefox 103+ ✅ Full
Safari 14+ ✅ Full
Edge 79+ ✅ Full

✦ Part of a Series

Project Description
Calculator Glassmorphic calculator with 4 themes & scientific mode
Notes Notes app with tags, pinning & search
Weather Weather app with forecast & geolocation
Typing Speed Typing test with live WPM & history
Password Generator Cryptographic password generator
Movies Movie search with cast, trailers & favorites
Calendar This project

✦ Tags

calendar glassmorphism vanilla-js drag-and-drop dark-theme localstorage recurring-events html-css-js no-dependencies frontend


✦ License

MIT — free to use, modify, and ship.


Made with care · pure HTML · CSS · JS · no frameworks needed

About

A glassmorphic calendar with month, week, and day views, drag-to-reschedule, recurring events, and color labels — built in pure HTML, CSS & JS.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages