/
index.html
112 lines (67 loc) · 2.98 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
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
109
110
111
112
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Student Registration Form</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav class="navbar">
<div>Student Enrollment Form</div>
</nav>
<div class="container">
<div class="col-1">
<form onsubmit="return false" id="a-form">
<div class="labels">
<label for="username">Name:</label>
<label for="email">Email:</label>
<label for="website">Website:</label>
<label for="image">Image link:</label>
<label for="male">Gender:</label>
<label for="skills">Skills:</label>
</div>
<div class="inputs">
<input type="text" placeholder="Enter your full name..." id="username">
<input type="email" placeholder="Enter your email id..." id="email">
<input type="text" id="website" placeholder="Enter your website link">
<input type="text" id="image" placeholder="Enter your Image link">
<div id="gender">
<div class="">
<input type="radio" id="male" name="gender" value="male" checked>
<label for="male">Male</label>
</div>
<div class="">
<input type="radio" id="female" name="gender" value="female">
<label for="female">Female</label>
</div>
</div>
<div id="skills">
<input type="checkbox" id="java" value="Java" name="skill" checked>
<label for="java">Java</label>
<input type="checkbox" id="html" value="HTML" name="skill">
<label for="html">HTML</label>
<input type="checkbox" id="css" value="CSS" name="skill">
<label for="css">CSS</label>
</div>
</div>
</form>
<button type="submit" id="submit" form="a-form" onclick="myFunc()">Enroll Student</button>
<button type="reset" id="reset" form="a-form">Clear</button>
</div>
<div class="vertical"></div>
<div class="col-2">
<h2>Enrolled Students</h2>
<div class="new">
<table border="1" id="myTable">
<tr>
<th>Description</th>
<th>Image</th>
</tr>
</table>
</div>
</div>
</div>
<script src="index.js"></script>
</body>
</html>