-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (54 loc) · 2.7 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
<title>ToDo List</title>
</head>
<body>
<div class="mr-1" style="position: relative;">
<div style="position: absolute; top: 0; right: 0;">
<div id="liveToast" class="toast success hide" role="alert" aria-live="assertive" aria-atomic="true" data-delay="4000">
<div class="toast-header">
<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="toastWarning" class="toast error hide" role="alert" aria-live="assertive" aria-atomic="true" data-delay="4000">
<div class="toast-header">
<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 center">
<div class="header">
<img src="img/todoimg6.png" alt="">
<h2>*ToDo List*</h2>
<form id="formInput" >
<input type="text" id="inputText" placeholder="what will you do today?" >
<button type="submit" class="button" id="liveToastBtn"
onclick="newElement()" ><span>Ekle</span></button>
</form>
</div>
<ul id="list" class="list-group">
</ul>
</div>
<script src="js/script.js" ></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</body>
</html>