-
Notifications
You must be signed in to change notification settings - Fork 37
/
Copy pathindex.html
57 lines (51 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Firebase CRUD</title>
<!-- BOOTSWATCH -->
<link
rel="stylesheet"
href="https://bootswatch.com/5/yeti/bootstrap.min.css"
/>
</head>
<body class="bg-dark">
<!-- ADD TASK -->
<div class="container p-4">
<div class="row">
<div class="col-md-6">
<div class="card">
<div class="card-body">
<h1 class="h4">Add Task</h1>
<form id="task-form">
<label for="title">Title:</label>
<input
type="text"
id="task-title"
class="form-control mb-3"
class="My First Title"
placeholder="Task Title"
autofocus
/>
<label for="description">Description:</label>
<textarea
id="task-description"
rows="3"
class="form-control mb-3"
placeholder="Task Description"
></textarea>
<button class="btn btn-primary" id="btn-task-form">Save</button>
<button class="btn btn-secondary" id="btn-task-cancel" type="button">Cancel</button>
</form>
</div>
</div>
</div>
<!-- Tasks List -->
<div class="col-md-6" id="tasks-container"></div>
</div>
</div>
<!-- CUSTOM CODE -->
<script src="./index.js" type="module"></script>
</body>
</html>