Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍬 Candy: The Lesson

An Interactive Web Narrative of Illusion, Addiction, and Awakening

Tech Stack: HTML5 Tech Stack: Tailwind CSS Tech Stack: JavaScript Audio: Tone.js Status: Live

"I didn't want her body without her heart. And when I wasn't chosen, I took my power back."


📖 About The Project

Candy: The Lesson is an interactive, responsive web narrative that transforms a personal story of unrequited love and emotional dependency into an empowering digital experience.

Instead of a static blog post or article, this project uses modern web development techniques, behavioral psychology frameworks, and interactive UI design to guide readers through the anatomy of a mixed-signal dynamic—and the mechanics of walking away to reclaim self-respect.


✨ Key Interactive Features

💖 / 🧠 Heart vs. Logic Mode Toggle

A dynamic text-translation engine that lets readers toggle between two psychological states:

  • Heart Mode: Displays the hopeful rationalizations, romantic illusions, and emotional attachments felt in the moment.
  • Logic Mode: Dynamically replaces narrative subtext with cold, objective reality and behavioral psychology definitions (e.g., Breadcrumbing, Future Faking, Intermittent Reinforcement).

📱 Authentic WhatsApp Chat Simulator

An interactive mobile mockup embedded in Chapter V that reconstructs the definitive final conversation leading to the boundary setting and contact block:

  • Verbatim Replay Engine: Simulates typing indicators (...), realistic pauses, and exact timestamps.
  • Smart Reading-Length Delay: Automatically scales message delays based on character count so readers have ample time to digest complex, multi-line texts before the next bubble appears.
  • The Climax: Concludes with a dramatic visual animation of the [You blocked this person • Peace Reclaimed] badge slamming into place.

⏳ The Rebirth Live Counter

A real-time ticker anchored to the exact moment the final boundary was established (July 6, 2026, at 00:00:00). It tracks the compounding days, hours, minutes, and seconds of peace and emotional independence regained since stepping away.

🚩 Interactive "Red Flag" Tooltips

Hoverable/tappable interactive terms scattered across early chapters that decode toxic relationship tactics. Readers can instantly view glassmorphism popups explaining concepts like:

  • Emotional Dumping & One-Way Anchor Dynamics
  • Boundary Violation disguised as passion
  • Triangulation & Manufactured Jealousy
  • Stalling & Checklist Deflections

🖼️ HTML5 Canvas Quote Card Generator

Allows readers to select powerful aphorisms or Hindi poetry from the narrative and dynamically render custom, high-resolution graphic cards (1080x1080px) formatted for immediate download and sharing on Instagram Stories or X (Twitter).

🧘 Zen Reading Mode & Progress Tracking

  • Zen Mode: A single-click distraction-free toggle that strips away background textures, glowing decorative elements, and UI borders, leaving only crisp, high-contrast typography on a pitch-black canvas.
  • Scroll Progress Bar: A top-mounted gradient bar with dynamic chapter waypoint markers that highlight as the user scrolls through the narrative arc.

🧱 The Closure Wall

A local-persistent (via localStorage) interactive confession board where readers can anonymously submit and view single-sentence reflections on toxic situations they have personally walked away from.


🛠️ Technology Stack

Component Technology Description
Structure Semantic HTML5 Mobile-first, accessible narrative architecture
Styling Tailwind CSS + Custom CSS Glassmorphism, neon text glows, fluid responsive typography
Typography Google Fonts Cormorant Garamond (Editorial Serif) & Inter (Modern Sans)
Interactivity Vanilla JavaScript (ES6+) DOM manipulation, state management, asynchronous chat loops
Graphics HTML5 Canvas API Client-side graphic generation for downloadable quote cards
Persistence Web Storage API (localStorage) Saves and renders reader submissions on the Closure Wall
Audio Tone.js Ambient background soundscapes and auditory feedback

📂 Project Structure

candy-the-lesson/
│
├── index.html          # Main HTML structure, chapter markups, and modal dialogs
├── style.css           # Custom scrollbars, typing animations, Zen mode overrides, and glow effects
├── script.js           # Core logic: Chat simulator, Rebirth counter, Canvas generator, Mode toggles
└── README.md           # Project documentation

About

I didn't want her body without her heart.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages