-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
55 lines (51 loc) · 2.66 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Colorful Notes</title>
<!-- Link to custom CSS for styling the application -->
<link rel="stylesheet" href="css/style.css">
<!-- Link to Bootstrap CSS for responsive design and components -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://getbootstrap.com/docs/5.3/assets/css/docs.css" rel="stylesheet">
</head>
<body class="font-monospace" id="app-body">
<div class="container text-primary">
<!-- Main title of the application -->
<h2 class="fw-bolder">Colorful Notes</h2>
<!-- Input area for creating new notes -->
<div id="notes-container" class="row align-items-stretch">
<!-- Textarea for user to input notes -->
<div class="col-sm-10 mb-3">
<div class="form-floating h-100">
<textarea class="form-control h-100" placeholder="Write a note here" id="floatingTextarea2"></textarea>
<label for="floatingTextarea2">Note:</label>
</div>
</div>
<!-- Buttons for note actions -->
<div class="col-sm-2 mb-3 d-flex flex-column">
<button type="button" class="btn btn-secondary mb-2 flex-grow-1" id="deleteAllButton">Delete All</button>
<button type="button" class="btn btn-primary flex-grow-1" id="add-note-btn">Add Note</button>
</div>
</div>
<!-- Section for displaying the list of notes -->
<div id="note-list"></div>
</div>
<!-- Toast notification for user feedback -->
<div id="toast" class="toast" role="alert" aria-live="assertive" aria-atomic="true" data-bs-autohide="true" data-bs-delay="2000">
<div class="toast-header">
<strong class="me-auto">Successful</strong>
<button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button>
</div>
<div class="toast-body"></div>
</div>
<!-- Footer with creator information and links -->
<footer class="container text-center mt-5 mb-3">
<p>Created by <a href="https://linktr.ee/burakunal28" target="_blank" rel="noopener">Burak Ünal</a> | <a href="https://github.com/burakunal28/colorful-notes" target="_blank" rel="noopener">GitHub Repository</a></p>
</footer>
<!-- JavaScript files for functionality -->
<script src="js/script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>