-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (38 loc) · 1.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>TO-DO List</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="/src/style.css" />
</head>
<body class="d-flex flex-column justify-content-center">
<main>
<section>
<div class="container box">
<h1>TO-DO</h1>
<form id="myForm" class="d-flex gap-3">
<input
class="form-control"
type="text"
name="task"
id="task"
placeholder="Enter task..."
required
autocomplete="off"
/>
<button type="submit" class="btn btn-primary w-25">add task</button>
</form>
<ul id="task-section" class="p-3 mt-3 border border-2 rounded-2 view"></ul>
</div>
</section>
</main>
<script src="/src/app2.js"></script>
</body>
</html>