-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (48 loc) · 1.83 KB
/
index.html
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>QuickJot</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
</head>
<body>
<div class="container">
<div class="notes-header">
<select id="note-selector">
<option value="">Select a note...</option>
</select>
<button id="new-note">New Note</button>
<button id="delete-note">Delete Note</button>
<button id="toggle-mode">Preview</button>
</div>
<div class="note-info">
<span id="last-modified"></span>
<span id="word-count"></span>
</div>
<div class="editor-container">
<div class="split-view">
<textarea id="note-content" class="editor" placeholder="Please click 'New Note' to create a note, or select an existing note from the dropdown." disabled></textarea>
<div id="preview-content" class="preview"></div>
</div>
</div>
<div id="delete-modal" class="modal">
<div class="modal-content">
<h2>Delete Note</h2>
<p>Are you sure you want to delete this note?</p>
<div class="modal-actions">
<label>
<input type="checkbox" id="dont-show-again"> Don't show this again
</label>
<div class="modal-buttons">
<button id="cancel-delete">Cancel</button>
<button id="confirm-delete">Delete</button>
</div>
</div>
</div>
</div>
</div>
<script src="app.js"></script>
</body>
</html>