forked from ShubhamKrSingh21/Magic-Notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
94 lines (90 loc) · 3.75 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!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>Magic Notes</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha256-sAcc18zvMnaJZrNT4v8J0T4HqzEUiUTlVFgDIywjQek=" crossorigin="anonymous">
<link href="./style.css" type="text/css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.3/dist/umd/popper.min.js"
integrity="sha256-zMDueDFY0as65ZDvjJgqgn446Lgv0SFVHN1MIAQfzRs="
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.min.js"
integrity="sha256-/hGxZHGQ57fXLp+NDusFZsZo/PG21Bp2+hXYV5a6w+g="
crossorigin="anonymous"></script>
<style>
textarea {
width: 100%;
height: 150px;
padding: 12px 20px;
box-sizing: border-box;
border: 2px solid #ccc;
border-radius: 4px;
background-color: #f8f8f8;
font-size: 16px;
resize: none;
}
</style>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<div class="container-fluid">
<a class="navbar-brand" href="#">Magic Notes</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse"
data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link active" aria-current="page" href="#">Home</a>
</li>
</ul>
<div class="d-flex">
<input id="searchTxt" class="form-control me-2" type="search" placeholder="Search" aria-label="Search">
</div>
</div>
</div>
</nav>
<div class="container">
<form class="row mt-3">
<div class="mb-3">
<label for="inpTitle">Title</label>
<input class="form-control" id="inpTitle" placeholder="Title" aria-label="Title">
</div>
<div class="mb-3">
<label for="txtContent">Note content</label>
<textarea class="form-control" id="txtContent" placeholder="Note content" rows="3"></textarea>
</div>
<div class="mb-3">
<label for="selectorColor">Note_Color</label>
<select id="selectorColor" class="form-select">
<option value="#ffffff" selected>White</option>
<option value="#00ffff">Cyan</option>
<option value="#ffd700">Yellow</option>
<option value="#ff69b4">Pink</option>
</select>
</div>
<div class="mb-3">
<button style="margin: 10px 0" class="btn btn-primary myBtn" id="addBtn" disabled>Add note</button>
</div>
</form>
<div class="row mt-3">
<h1>Saved Notes</h1>
<hr>
<div class="row mb-3">
<div class="mb-3">
<button style="margin: 10px 0" class="btn btn-primary myBtn" id="delAllBtn">Delete all notes</button>
</div>
<div class="mb-3">
<div id="notes" class="row container-fluid"></div>
</div>
</div>
</div>
<script src="app.js"></script>
</div>
</body>
</html>