-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
213 lines (175 loc) · 4.23 KB
/
test.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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
<html>
<head>
<title>Anokha Registration Form</title>
<link rel="icon" href="https://dt19wmazj2dns.cloudfront.net/wp-content/uploads/bfi_thumb/7005-3-xixq6ks7tdijdh4u0e27eo.jpg" alt="image" style="width:200px;height100px;">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
}
html {
box-sizing: border-box;
}
*, *:before, *:after {
box-sizing: inherit;
}
.column {
float: left;
width: 33.3%;
margin-bottom: 16px;
padding: 0 8px;
}
.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
margin: 8px;
}
header{
padding: 50px;
background-color: #5addf4;
color: rgb(22, 20, 20);
}
.container {
padding: 0 16px;
}
.container::after, .row::after {
content: "";
clear: both;
display: table;
}
.title {
color: grey;
}
.button {
border: none;
outline: 0;
display: inline-block;
padding: 8px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
}
.button:hover {
background-color: #555;
}
@media screen and (max-width: 650px) {
.column {
width: 100%;
display: block;
}
}
</style>
</head>
<body>
<header>
<center>
<img src="https://1.bp.blogspot.com/-kTnjAosQ2dI/XpbJ1-uUYKI/AAAAAAAADt4/aVylkQVXciQSNCw4Oa2vtIQ4oVK96db-gCLcBGAsYHQ/s1600/Amrita-vishwa-vidyapeetham-color-logo.png" alt="image" style="width:200px;height100px;">
<h1 style="font-family:Algerian"><b>Anokha TechFest 2023</b></h1>
<p style="font-family:Lucida Calligraphy">Intercollege Techno Cultural Fest</p>
<p></p>
</center>
</header>
<h1 align="center"> <font color="black"> <i>Anokha Techno Fest</font></i></h1>
<table border="1" width="40%" height="600px" align="center" bgcolor="White">
<!---row1--->
<tr align="center" bgcolor="white">
<th colspan="2"><font size="10"><i>Registration Form</i></font></th>
</tr>
<!---row2--->
<tr>
<th><font color="#FFB6C1;">
<label >Name</label></th>
<th><input type="text" placeholder="Enter your Name"></th>
</tr>
<tr>
<th><font color="#FFB6C1;"><label>DOB</label></th>
<th><input type="date"></th>
</tr>
<tr>
<th><font color="#FFB6C1;">
<label>College Name</label></th>
<th><input type="text" placeholder="Enter your college name"></th>
</tr>
<tr>
<th><font color="#FFB6C1;">
<label>Course</label></th>
<th><input type="text" placeholder="Enter your Course"></th>
</tr>
<tr >
<th><font color="#FFB6C1;">
<label>Phone</label></th>
<th><input type="number" placeholder="Enter Your Phone no."></th>
</tr>
<tr >
<th><font color="#FFB6C1;">
<label>E-Mail</label></th>
<th><input type="email" placeholder="Enter your email address"></th>
</tr>
<tr >
<th><font color="#FFB6C1;">
<label>Gender</label></th>
<th><font color="#FFB6C1;">
<input type="radio" name="gender">Male
<input type="radio" name="gender">Female
</th>
</tr>
<tr >
<th><font color="#FFB6C1;">
<label>Year</label></th>
<th>
<select name="Year">
<option value="Select">Select year</option>
<option value="I Year">I Year</option>
<option value="II Year">II Year</option>
<option value="III Year">III Year</option>
<option value="IV Year">IV Year</option>
</th>
</tr>
<tr >
<th><font color="#FFB6C1;">
<label>Password</label></th>
<th><input type="password" placeholder="Enter a new password"></th>
</tr>
<tr >
<th><font color="#FFB6C1;">
<label>Re-enter Password</label></th>
<th><input type="password" placeholder="Re-enter password"></th>
</tr>
<tr >
<th><font color="#FFB6C1;">
<label>Accomodation</label></th>
<th><font color="#FFB6C1;">
<input type="radio">Yes
<input type="radio">No
</th>
</tr>
<tr>
<th><font color="#FFB6C1;">
<label> I'm not a Robot</label></th>
<th><input type="checkbox">
</th>
</tr>
<tr align="center" bgcolor="White">
<th colspan="2"><button type="button" onclick="validateElements()">Submit</button>
</th>
</tr>
</table>
<script>
function validateName() {
let namelocal;
namelocal = document.getElementById("name").value;
console.log("name:" + namelocal );
return false;
}
function validateElements() {
if(validateName())
{
validateCollegeName();
}
}
</script>
</body>
</html>