-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (55 loc) · 2.6 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Bootstrap demo</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
</head>
<body>
<div class="container d-flex-justify-content-center w-50 m-auto my-5">
<div class="mb-3">
<label for="exampleInputEmail1" class="form-label">Course Name</label>
<input id="CourseName" type="text" class="form-control" id="exampleInputEmail1"
aria-describedby="emailHelp">
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Course Category</label>
<input id="CourseCategory" type="text" class="form-control" id="exampleInputPassword1">
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Course Price</label>
<input id="CoursePrice" type="number" class="form-control" id="exampleInputPassword1">
</div>
<div class="mb-3">
<label for="exampleInputPassword1" class="form-label">Course Description</label>
<textarea id="CourseDescription" class="form-control" id="exampleInputPassword1"></textarea>
</div>
<button type="button" id="click" class="btn btn-outline-primary">Add Course</button>
<button type="clear" class="btn btn-outline-btn-primary">Clear</button>
<div class="d-block mt-3">
<button type="button" id="deleteBtn" class="btn btn-outline-danger">Delete All</button>
</div>
<input type="search" placeholder="search.." onkeyup="search(this.value)" class="form-control mt-3">
<table class="table table-striped mt-5">
<thead>
<tr>
<th scope="col">Id</th>
<th scope="col">Name</th>
<th scope="col">Category</th>
<th scope="col">Price</th>
<th scope="col">Description</th>
<th scope="col">Action</th>
</tr>
</thead>
<tbody id="data">
</tbody>
</table>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
crossorigin="anonymous"></script>
<script src="./main.js"></script>
</body>
</html>