-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
82 lines (72 loc) · 3.3 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
<!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>Note App</title>
<!------ Google Fonts ------>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital,wght@0,200;0,300;0,400;0,500;1,200;1,300;1,400;1,500&family=Open+Sans&display=swap" rel="stylesheet">
<!--Bootstrap CSS-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
</head>
<!----External CSS----->
<link rel="stylesheet" type="text/css" href="styles.css">
<body>
<!--Bootstrap Script-->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<nav class="navbar bg-body-tertiary">
<div class="container-fluid">
<h1>Note App</h1>
<form class="d-flex" role="search">
<input class="form-control me-2" id="search" type="search" placeholder="Search" aria-label="Search">
</form>
</div>
</nav>
<!--Main-->
<div class="main-section">
<div class="container-fluid">
<div class="row">
<!--First Half - Enter Data-->
<div class="col-lg-6 col-md-6 " id="add-records">
<form class="row g-3" id="submit-form">
<div class="col-lg-12">
<label for="validationDefault01" class="form-label">Note Title</label>
<input type="text" class="form-control" id="title" required>
</div>
<div class="col-lg-12">
<label for="validationDefault01" class="form-label">Description</label>
<textarea class="form-control" id="description" rows="5" style="resize: none;" required></textarea>
</div>
<div class="col-12">
<div class="d-grid gap-2 col-6 mx-auto">
<button class="btn btn-success addNote" type="submit">Add Note</button>
<button class="btn btn-dark resetNote" type="reset" id="resetbtn">Reset</button>
</div>
</div>
</form>
</div>
<!--Second Half - Table -->
<div class="col-lg-6 col-md-6 " id="tablediv">
<table class="table table-striped" id="items">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Title</th>
<th scope="col">View</th>
<th scope="col">Delete</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- External JavaScript-->
<script src="script.js" ></script>
</body>
</html>