-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
48 lines (44 loc) · 1.61 KB
/
popup.html
File metadata and controls
48 lines (44 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Quick Notes</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<main class="app">
<header class="app-header">
<div>
<h1>Quick Notes</h1>
<p class="subtitle">Capture ideas fast</p>
</div>
<div class="header-actions">
<button id="themeToggle" class="icon-btn" type="button" aria-label="Toggle dark mode">Dark</button>
<button id="exportBtn" class="icon-btn" type="button">Export .txt</button>
</div>
</header>
<section class="composer">
<label class="sr-only" for="noteInput">New note</label>
<textarea id="noteInput" placeholder="Write your note in Markdown..."></textarea>
<div class="composer-actions">
<button id="saveBtn" type="button">Add Note</button>
<button id="cancelEditBtn" type="button" class="secondary hidden">Cancel Edit</button>
</div>
<div class="preview-wrap">
<p class="preview-label">Live Markdown Preview</p>
<div id="markdownPreview" class="markdown-body preview-box"></div>
</div>
</section>
<section class="search-section">
<label class="sr-only" for="searchInput">Search notes</label>
<input id="searchInput" type="search" placeholder="Search notes...">
</section>
<section>
<ul id="notesList" class="notes-list"></ul>
<p id="emptyState" class="empty-state">No notes yet. Add your first note above.</p>
</section>
</main>
<script src="popup.js"></script>
</body>
</html>