-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (93 loc) · 2.87 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
95
96
97
98
<!DOCTYPE html>
<html lang="tr">
<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" />
<link rel="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css"
integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l"
crossorigin="anonymous"
/>
<title>Yapılacaklar Listesi</title>
</head>
<body>
<div class="mr-1" style="position: relative">
<div style="position: absolute; top: 0; right: 0">
<div
id="liveToast"
class="toast success"
role="alert"
aria-live="assertive"
aria-atomic="true"
data-delay="4000"
>
<div>
<button
type="button"
class="close"
data-dismiss="toast"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">Listeye eklendi.</div>
</div>
</div>
</div>
<div class="mr-1" style="position: relative">
<div style="position: absolute; top: 0; right: 0">
<div
id="liveToast"
class="toast error hide"
role="alert"
aria-live="assertive"
aria-atomic="true"
data-delay="4000"
>
<div>
<button
type="button"
class="close"
data-dismiss="toast"
aria-label="Close"
>
<span aria-hidden="true">×</span>
</button>
</div>
<div class="toast-body">Listeye boş ekleme yapamazsınız!</div>
</div>
</div>
</div>
<div class="container">
<div class="header">
<img
src="https://cdn.sanity.io/images/9kdepi1d/production/65c832d202a503b15d99e628f4313782f3ef50db-300x62.png"
class="mb-1"
alt=""
/>
<h2>Yapılacaklar Listesi</h2>
<input type="text" id="task" placeholder="Bugün ne yapacaksın?" />
<span id="liveToastBtn" class="button"
>Ekle</span
>
</div>
<ul id="list">
</ul>
<script
src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"
></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.bundle.min.js"
integrity="sha384-Piv4xVNRyMGpqkS2by6br4gNJ7DXjqk09RmUpJ8jgGtD7zP9yug3goQfGII0yAns"
crossorigin="anonymous"
></script>
</div>
<script src="index.js"></script>
</body>
</html>