-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
75 lines (64 loc) · 3.28 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
<!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">
<title>JS_ToDoList</title>
<!-- BOOTSTRAP -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<!-- JQUERY, POPPER.JS AND BOOTSTRAP -->
<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/[email protected]/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-+YQ4JLhjyBLPDQt//I+STsc9iw4uQqACwlvpslubQzn4u2UU2UFM80nGisd026JF" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<script defer src="script.js"></script>
</head>
<body>
<div class="container">
<h1 align="center">ToDo List</h1>
<!-- Input Box-->
<div class="row">
<div class="col">
<div class="form-group">
<label for="inpNewTask">New Task</label>
<input type="text" class="form-control" id="inpNewTask" aria-describedby="newTaskHelp" placeholder="Enter a new task">
</div>
<div class="form-group">
<label for="description">Description</label>
<textarea class="form-control" id="description" rows="3"></textarea>
<small id="newTaskHelp" class="form-text text-muted">A short one line description of your task.</small>
</div>
</div>
</div>
<!-- Buttons -->
<div class="row px-4">
<button class="btn btn-success font-weight-bold col m-2" id="btnAdd">Add</button>
<button class="btn btn-danger font-weight-bold col m-2" id="btnClear" onclick="clearAll()">Clear</button>
<table class="table">
<thead>
<tr>
<th scope="col">SNo</th>
<th scope="col">Item Title</th>
<th scope="col">Item Description</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody id="tableBody">
<tr>
<th scope="row">1</th>
<td>Hello!</td>
<td>Read newspaper early in the morning.</td>
<td><button class="btn btn-sm btn-primary">Delete</button></td>
</tr>
</tbody>
</table>
</div>
<!-- Task List Group-->
<!-- <ul class="row list-group m-2" id="ulTasks">
<li class="list-group-item disabled">First item</li>
<li class="list-group-item">Second item</li>
</ul> -->
</div>
</body>
</html>