-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (35 loc) · 1.58 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Notes App</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9" crossorigin="anonymous">
<script defer src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
</head>
<body>
<div class="container mt-5">
<h4 class="text-center">Notes App</h4>
<form id="notesForm">
<div class="mb-3">
<label for="noteTitle" class="form-label">Note Title</label>
<input type="text" name="title" class="form-control" id="noteTitle" required>
</div>
<div class="mb-3">
<label for="noteContent" class="form-label">Note Content</label>
<textarea name="note" class="form-control" id="noteContent" rows="3" required></textarea>
</div>
<button type="submit" class="btn btn-primary">Add Note</button>
</form>
</div>
<div class="container mt-5">
<div id="displayNotes" class="container mt-5 d-flex justify-content-center align-items-center flex-wrap gap-3">
<!-- Notes will be displayed here dynamically -->
</div>
</div>
<script src="index.js"></script>
</body>
</html>