diff --git a/index.html b/index.html index cd1831d..1de8749 100644 --- a/index.html +++ b/index.html @@ -404,7 +404,206 @@ now.toLocaleTimeString('en-US', {hour:'2-digit',minute:'2-digit',second:'2-digit'}); } tick(); setInterval(tick, 1000); + + // ── Notes ────────────────────────────────────────────────────────────── + const NOTES_KEY = 'dashboard_notes'; + + function loadNotes() { + return JSON.parse(localStorage.getItem(NOTES_KEY) || '[]'); + } + function saveNotes(notes) { + localStorage.setItem(NOTES_KEY, JSON.stringify(notes)); + } + + function renderNotes() { + const notes = loadNotes(); + const list = document.getElementById('notes-list'); + if (!list) return; + if (!notes.length) { + list.innerHTML = '