-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
83 lines (70 loc) · 3.54 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
<!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">
<!-- Font Awesome -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" />
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap" rel="stylesheet" />
<!-- MDB -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/6.0.0/mdb.min.css" rel="stylesheet" />
<script src="https://www.gstatic.com/firebasejs/8.10.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.1/firebase-firestore.js"></script>
<script src="./firebase.js"></script>
<link rel="stylesheet" href="./style.css">
<title>To do list </title>
</head>
<body>
<section class="vh-90" style="background-color: #eee;">
<div class="container py-5 h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col col-lg-9 col-xl-7">
<div class="card rounded-3">
<div class="card-body p-4">
<h4 class="text-center my-3 pb-3">To Do App</h4>
<form class="row row-cols-lg-auto g-3 justify-content-center align-items-center mb-4 pb-2"
onsubmit="newElement(event);">
<div class="col-12">
<div class="form-outline">
<input type="text" id="myInput" class="form-control" />
<label class="form-label" for="myInput">Enter a task here</label>
</div>
</div>
<div class="col-12">
<button type="submit" class="btn btn-primary">Add
Task</button>
</div>
</form>
<div class="card">
<div class="card-body overflow-auto" data-mdb-perfect-scrollbar="true"
style="position: relative; height: 400px">
<table class="table mb-4">
<thead>
<tr>
<th scope="col">No.</th>
<th scope="col">Todo item</th>
<th scope="col">Status</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody id="mylist">
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<footer class="vh-10">
<p>© Copyright Created by Anurag Singh Chauhan</p>
</footer>
</body>
<!-- MDB -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdb-ui-kit/6.0.0/mdb.min.js"></script>
<script defer src="./index.js"></script>
</html>