Notes

localStorage

Security notes, SOC lab write-ups and tested code by Mahir Faysal, a SOC Level 1 cybersecurity learner in Bangladesh, plus notes from my Next.js and Gemini projects. Sample posts are marked and drafts stay in the admin area.

Dark Mode Toggle With JavaScript and localStorage
Coding tips

Dark Mode Toggle With JavaScript and localStorage

A dark mode toggle that remembers the choice in localStorage, follows the system setting on a first visit and never flashes white on reload. Tested code.

October 4, 2026 · 8 min read · 109 views

Build an Offline Habit Tracker With localStorage
Coding tips

Build an Offline Habit Tracker With localStorage

A small offline habit tracker in plain HTML and JavaScript: habits saved as JSON in localStorage, streaks from local dates, a 7-day row and a JSON backup.

October 2, 2026 · 10 min read · 121 views

Building an Offline Study Planner With No Backend
Learning notes

Building an Offline Study Planner With No Backend

How I built StudyPilot to run fully in the browser with localStorage, a drag-and-drop dashboard and a rule-based planner that picks what to study today.

October 2, 2026 · 5 min read · 133 views

0%