-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhello.html
108 lines (108 loc) · 3.13 KB
/
hello.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<!DOCTYPE html>
<html>
<head>
<title>My WebPage1</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="style.css">
<script type="text/javascript" src="scripts.js"></script>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
</head>
<body>
<div id="whole">
<div id = "header">
<h1>Students details</h1>
</div>
<div>
<div id="studentForm">
<form>
<h2>Application Form</h2>
<div style="overflow-y: auto;" height = "200px">
<table class="noborder" align="center">
<tr class="noborder">
<td class="leftSide noborder">Enter your name:</td>
<td class="noborder">
<input id="studentName" type="text">
</td>
</tr>
<tr class="noborder">
<td class="leftSide noborder" >Enter your DOB:</td>
<td class="noborder">
<input id="dateOfBirth" type="date">
</td>
</tr>
<tr class="noborder">
<td class="leftSide noborder">Enter your registration number:</td>
<td class="noborder">
<input id="registerNumber" type="text" name="registrationNumber">
</td>
</tr>
<tr class="noborder">
<td class="leftSide noborder">Enter your year</td>
<td class="noborder">
<input id="year" type="number" name="year" min="1" max="4" />
</td>
</tr>
<tr class="noborder">
<td class="leftSide noborder">Select your department</td>
<td class="noborder">
<select id="department" name="department" id="department">
<option value="none">--Select--</option>
<option value="CIVIL">Civil Engineering</option>
<option value="CSE">Computer Science Engineering</option>
<option value="EEE">Electrical and Electronics Engineering</option>
<option value="ECE">Electronics and Communication Engineering</option>
<option value="MECH">Mechanical Engineering</option>
</select>
</td>
</tr>
<tr class="noborder">
<td class="noborder">
</td>
<td class="noborder">
<button type="button" id="submitButton" onclick="addRow()">Submit</button>
</td>
</tr>
</table>
</div>
</form>
</div>
<div id="studentDetails">
<table id="studentTable" align="center" class="table table-striped scrolldown">
<thead>
<tr>
<th scope="col">Student Name</th>
<th scope="col">Register Number</th>
<th scope="col">Date of Birth</th>
<th scope="col">Year</th>
<th scope="col">Branch</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">asdf</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
<td>asdf</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
<td>sdfa</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
<td>adsfa</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>