-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
63 lines (63 loc) · 1.91 KB
/
index.html
File metadata and controls
63 lines (63 loc) · 1.91 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="description"
content="The web page used the API of @Domeshow created by @Jean-pierre14"
/>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Nodejs CRUD with express</title>
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css"
/>
</head>
<body>
<div class="container">
<div class="row py-3">
<div class="col-4 col-md-4">
<div class="card card-body shadow-sm">
<h3>Registration of course</h3>
<div id="error"></div>
<form action="" id="myForm" method="post">
<div class="form-group">
<label for="name">Name of course</label>
<input
type="text"
name="name"
id="name"
placeholder="Name of course"
class="form-control"
/>
</div>
<div class="form-group">
<label for="desc">Description</label>
<textarea
name="description"
id="desc"
name="description"
class="form-control"
placeholder="Description...
"
></textarea>
</div>
<div class="form-group mt-3">
<button type="submit" id="btn_submit" class="btn">
Register
</button>
</div>
</form>
</div>
</div>
<div class="col-8 col-md-8">
<div id="results">
<h4>Loading...</h4>
</div>
</div>
</div>
</div>
</body>
</html>
<script src="./public/js/main.js"></script>