-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (57 loc) · 2.67 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
<html>
<head>
<title>Details Form</title>
<link rel="stylesheet" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<div class="row justify-content-center">
<div class="col-4 bg-primary main">
<p class="heading">Details Form</p>
<form method="GET">
<div class="row">
<div class="col-md-12">
<div class="form-group">
<label>Name: </label>
<input type="text" class="form-control" id="name" placeholder=" Enter Name" required>
</div>
<div class="form-group">
<label>Mobile No.</label>
<input type="tel" class="form-control" id="mobile" placeholder=" Enter 10-digit mobile no." required>
</div>
<div class="form-group">
<label>Email Address</label>
<input type="email" class="form-control" id="email" placeholder=" Enter Email id" required>
</div>
<button type="button" onclick="fun()" class="submit">SUBMIT</button>
</div>
</form>
<div id="output">
<br>
<br/>
<div class="container pt-5">
<div class="row">
<div class="col-12 pt-2">
<hr style="border: 2px solid #000;">
<div class="table-responsive-sm">
<table class="table table-bordered" id="detailTable" >
<tr>
<th>Name</th>
<th>E-mail</th>
<th>Mobile No.</th>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="javascript.js"></script>
</body>
</html>