-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
74 lines (65 loc) · 3.35 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
<!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>Notes Keeper</title>
<link rel="stylesheet" href="style.css">
<script src="main.js" defer type="module"></script>
<script src="DOM_elements.js" defer type="module"></script>
<!-- Bootstrap CDNs -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" defer></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.css">
</head>
<body>
<main class="container py-5 p-md-5 position-relative">
<!-- Dark Mode Switcher -->
<div class="dark-mode d-flex align-items-center ">
<p class="m-0 me-2">Dark Mode</p>
<div class="dark-mode-switcher rounded-pill d-flex align-items-center">
<i class="bi bi-brightness-high-fill"></i>
<span></span>
<i class="bi bi-moon-stars-fill"></i>
</div>
</div>
<h1 class="text-center my-4">Notes Keeper</h1>
<fieldset class="border border-1 p-3">
<legend class="text-center text-decoration-underline">Add New Note</legend>
<form class="fw-semibold fs-5">
<div class="my-3">
<label for="title" class="form-label">Title</label>
<input type="text" id="title" class="form-control fs-5" placeholder="eg: Schedule A Meeting" required>
</div>
<div>
<label for="description" class="form-label">Description</label>
<textarea id="description" class="form-control fs-5" cols="30" rows="2" maxlength="500"></textarea>
</div>
<div>
<span class="fs-6 text-secondary">*Hint: Use // to insert new lines.</span>
</div>
<div class="d-md-flex align-items-center my-3">
<p class="me-3 mb-0">Select Note Color: </p>
<div>
<input type="radio" id="cyan" class="form-check-input me-3" name="bg-color" value="#1C8BF2">
<input type="radio" id="orange" class="form-check-input me-3" name="bg-color" value="#EE5E44">
<input type="radio" id="green" class="form-check-input me-3" name="bg-color" value="#2EAD0B" checked>
<input type="radio" id="purple" class="form-check-input me-3" name="bg-color" value="#740BAD">
</div>
</div>
<div class="my-3">
<button type="button" id="add" class="btn btn-lg btn-primary px-5">Add</button>
<input type="reset" class="btn btn-lg btn-danger px-5" value="Reset">
</div>
</form>
<a class="d-block text-end fw-semibold fs-5 fork-me" title="Star Me" href="https://github.com/OthmaneNissoukin/notes-keeper"><i class="bi bi-github"></i></a>
</fieldset>
<!-- Notes Container -->
<hr>
<h2 class="text-center">All Notes</h2>
<section>
</section>
</main>
</body>
</html>