forked from Abhir1902/Hacktoberfest2022
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
171 lines (153 loc) · 7.08 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Linking the StyleSheet -->
<link rel="stylesheet" href="./style.css">
<!-- Linking the Javascript File -->
<script src="./script.js"></script>
<!-- Title of the WebPage -->
<title>Employee Validation Form</title>
</head>
<!-- Body Of the Page -->
<body style="background-color: rgb(242, 252, 106);">
<!-- Heading -->
<div class="title-wrapper">
<h1><u>Employee Validation Form</u></h1>
</div>
<br><br>
<!-- Div container conatining form -->
<div class="body-wrapper">
<form id="form" action="/action_page.php" style="font-size: 20px;">
<b>
<!-- Text and label for name -->
<div class="name-wrapper">
<label for="name" style="margin-right: 70px;">Name:</label>
<input type="text" id="name" placeholder="Name">
<div class="name_para-wrapper">
<p id="name-op"></p>
</div>
</div>
<div class="name-wrapper">
<label for="name" style="margin-right: 70px;">Last Name:</label>
<input type="text" id="name" placeholder="Name">
<div class="name_para-wrapper">
<p id="name-op"></p>
</div>
</div>
<div class="id__wrapper" style="margin: 10px 20px 10px 35px;
background: none;
border: 1px solid black;
padding: 10px;
width: 600px;
display: inline-block;
filter: blur(0px);
background-color: rgb(231, 165, 45);
border-radius: 30px;
color: rgb(255, 255, 255); margin-left: 400px;">
<p style="text-align: center;">USer ID</p>
</div>
<!-- Text and label for User ID. -->
<div class="reg-wrapper">
<label for="reg" style="margin-right: 57px;">User Details:</label>
<input type="text" id="reg" placeholder="10SEDxxxx">
<div class="reg_para-wrapper">
<p id="reg-op"></p>
</div>
</div>
<div class="id__wrapper" style="margin: 10px 20px 10px 35px;
background: none;
border: 1px solid black;
padding: 10px;
width: 600px;
display: inline-block;
filter: blur(0px);
background-color: rgb(231, 165, 41);
border-radius: 30px;
color: rgb(255, 255, 255); margin-left: 400px;">
<p style="text-align: center;">Institution Details</p>
</div>
<!-- Text and label for Institute -->
<div class="year-wrapper">
<label for="year" style="margin-right: 78px;">Institute:</label>
<input type="text" id="year" placeholder="Amazon, New York">
<div class="year_para-wrapper">
<p id="year-op"></p>
</div>
</div>
<!-- Date and label for Date of Joining -->
<div class="dob-wrapper">
<label for="date">Date Of Joining:</label>
<input type="date" name="date" id="date" >
</div>
<div class="id__wrapper" style="margin: 10px 20px 10px 35px;
background: none;
border: 1px solid black;
padding: 10px;
width: 600px;
display: inline-block;
filter: blur(0px);
background-color: rgb(231, 165, 41);
border-radius: 30px;
color: rgb(255, 255, 255); margin-left: 400px;">
<p style="text-align: center;margin-top: 20px;">Personal Details</p>
</div>
<!-- Textarea and label for Address -->
<div class="address-wrapper">
<label for="add" style="margin-right: 50px">Address:</label>
<textarea name="add" id="add" cols="30" rows="10" placeholder="Your Address"></textarea>
<div class="address_para-wrapper">
<p id="address-op"></p>
</div>
</div>
<!-- Text and label for city -->
<div class="city-wrapper">
<label for="city" style="margin-right: 82px;">Research Interest:</label>
<input type="text" id="city" placeholder="AE, SDE, ML">
<div class="city_para-wrapper">
<p id="city-op"></p>
</div>
</div>
<!-- Email and label for mail-->
<div class="mail-wrapper">
<label for="mail" style="margin-right: 67px;">Primary Email:</label>
<input type="email" id="mail" placeholder="abc@gmail.com">
<div class="mail_para-wrapper">
<p id="mail-op"></p>
</div>
</div>
<div class="mail-wrapper">
<label for="mail" style="margin-right: 67px;">Secondary Email:</label>
<input type="email" id="mail" placeholder="abc@gmail.com">
<div class="mail_para-wrapper">
<p id="mail-op"></p>
</div>
</div>
<!-- Text and label for mobile -->
<div class="mobile-wrapper">
<label for="mobile" style="margin-right: 29px;">Contact No:</label>
<input type="text" id="mobile" placeholder="99xxxxxx80">
<div class="mobile_para-wrapper">
<p id="mobile-op"></p>
</div>
</div>
<br>
<!-- Radio and label for Department -->
<br>
<div class="dummy">
<p id="final-op"></p>
<br>
</div>
<!-- Button and label for Submit and Reset -->
<div class="button-wrapper">
<button class="custom-buttom" type="submit" id="form" value="submit" style="margin-left: 80px; margin-right: 100px;" onclick="validate_year(), validate_name(), validate_reg(),
validate_address(), validate_city_state(), validate_mail(), validate_mobile(), check()">Submit</button>
<button class="custom-buttom" type="button" id="form" value="reset" onclick="reload()">Reset</button>
</div>
</b>
</form>
</div>
</body>
</html>