-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (51 loc) · 1.61 KB
/
index.html
File metadata and controls
58 lines (51 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
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Beautiful Notes</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="glass">
<h1>📝 Beautiful Notes</h1>
<div class="menu-bar">
<input type="text" id="search" placeholder="Search notes...">
<details>
<summary>Sort</summary>
<ul>
<li onclick="sortNotes('newest')">Newest</li>
<li onclick="sortNotes('oldest')">Oldest</li>
<li onclick="sortNotes('title')">Title</li>
</ul>
</details>
<details>
<summary>More</summary>
<ul>
<li onclick="clearNotes()">Clear All</li>
</ul>
</details>
</div>
</header>
<main id="notes-container"></main>
<button id="add-btn">+</button>
<!-- Fullscreen view -->
<div id="fullscreen-view" class="fullscreen">
<div class="fullscreen-content glass">
<button class="close-btn" onclick="closeFullscreen()">✕</button>
<h2 id="fullscreen-title">Note Title</h2>
<p id="fullscreen-text">Note content goes here...</p>
</div>
</div>
<!-- Add note modal -->
<div id="modal" class="modal">
<div class="modal-content glass">
<h2>Add Note</h2>
<input type="text" id="note-title" placeholder="Title">
<textarea id="note-text" placeholder="Write your note..."></textarea>
<button onclick="saveNote()">Save</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>