-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
53 lines (39 loc) · 1.58 KB
/
popup.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
49
50
51
52
53
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/tailwind.min.css" rel="stylesheet">
<title>Notes</title>
<style>
.container {
min-width: 300px; /* Set a minimum width for the container */
}
</style>
</head>
<body>
<div class="container mx-auto p-4">
<h1 class="text-2xl font-bold mb-4">Notes</h1>
<div class="mb-4">
<label for="note-title" class="block font-bold">Note Title</label>
<input type="text" id="note-title" class="w-full border border-gray-300 rounded p-2">
</div>
<div class="mb-4">
<label for="note-content" class="block font-bold">Note Content</label>
<textarea id="note-content" class="w-full border border-gray-300 rounded p-2"></textarea>
</div>
<div class="mb-4">
<label for="note-tags" class="block font-bold">Note Tags (comma-separated)</label>
<input type="text" id="note-tags" class="w-full border border-gray-300 rounded p-2">
</div>
<div class="mb-4">
<label for="search-input" class="block font-bold">Search Notes</label>
<input type="text" id="search-input" class="w-full border border-gray-300 rounded p-2">
</div>
<button id="save-button" class="bg-blue-500 text-white px-4 py-2 rounded">Save Note</button>
<button id="clear-button" class="bg-red-500 text-white px-4 py-2 rounded ml-2">Clear Note</button>
<ul id="note-list" class="mt-4"></ul>
</div>
<script src="popup.js"></script>
</body>
</html>