-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
39 lines (35 loc) · 1.5 KB
/
index.html
File metadata and controls
39 lines (35 loc) · 1.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Write to DB - Demo</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
</head>
<body>
<div class="container" style="margin-top: 200px; ">
<div class="row">
<form action="http://localhost:5959/writetodb" method="post">
<div class="mb-3">
<label class="form-label">Full Name</label>
<input type="text" class="form-control" id="fullname" name="fullname" aria-describedby="fullname">
</div>
<div class="mb-3">
<label class="form-label">Age</label>
<input type="text" class="form-control" id="age" name="age" aria-describedby="age">
</div>
<div class="mb-3">
<label class="form-label">Gender</label>
<select class="form-select" name="gender" id="gender" aria-label="Default select example">
<option selected>Please Choose</option>
<option value="Male">Male</option>
<option value="Female">Female</option>
</select>
</div>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
</div>
</div>
</body>
</html>