-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
60 lines (46 loc) · 1.76 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
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Power Note</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css" />
</head>
<body>
<nav id="navbar">
<p id="logo">Power Note</p>
<form action="#" autocomplete="off">
<input type="text" id="search-input" name="search" onkeyup="searchFunction()" placeholder="Search...">
</form>
<button type="submit" id="delete-all-btn"><i class="fas fa-trash-alt"></i> Delete All </button>
</nav>
<form class="add-note-form" name="noteForm" autocomplete="off">
<fieldset>
<legend>Add Note:</legend>
<div class="form-group">
<label for="title">Note Title: </label>
<input type="text" id="title" name="title" required>
</div>
<div class="form-group">
<label for="content">Note Content: </label>
<textarea name="message" id="content" rows="10" cols="30" required></textarea>
<span id="error"></span>
</div>
<button id="add-note-btn"><i class="fas fa-plus"></i></button>
</fieldset>
</form>
<div id="main-box">
<hr>
<h1>Your Notes: </h1>
<hr>
<div id="notes-container">
</div>
</div>
<div class="view-code">
<a href="https://github.com/iamhiman/power-note" target="_blank">View Code <i class="fab fa-github"></i></a>
</div>
<script src="script.js"></script>
</body>
</html>