-
Notifications
You must be signed in to change notification settings - Fork 0
/
resume.html.html
222 lines (213 loc) · 4.17 KB
/
resume.html.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
214
215
216
217
218
219
220
221
222
<!DOCTYPE html>
<html>
<head>
<title>MY PAGE</title>
</head>
<body>
<div class="firstpage">
<div class="h1" align="center">
Welcome to MY PAGE
<br>
<br>
</div>
<div align="center" class="tabs">
<button id="1" onclick="fun1()" >Resume</button>
<button id="2" onclick="fun2()" >Contact Us</button>
</div>
</div>
<div class="content" id="resume">
<h1>RESUME</h1>
<table id="home" >
<tr>
<th>PERSONAL DETAILS</th>
</tr>
<tr>
<td>Name</td>
<td>Sahil Batra</td>
</tr>
<tr>
<td>Father's Name</td>
<td>Harish Batra</td>
</tr>
<tr>
<td>Mother's Name</td>
<td>Sonu Batra</td>
</tr>
<tr>
<td>Address</td>
<td>201,Citizen Tower,Bhatar Road,Surat</td>
</tr>
<tr>
<td>Nationality</td>
<td>Indian</td>
</tr>
<tr>
<td>DOB</td>
<td>6 September 1999</td>
</tr>
<tr>
<td>Contact No.</td>
<td>8866635618</td>
</tr>
<tr>
<td>Email-ID</td>
<td>[email protected]</td>
</tr>
<tr>
<th>EDUCATIONAL QUALIFICATIONS</th>
</tr>
<tr>
<td>Class/Course/Other</td>
<td>School/Institution</td>
<td>Period</td>
<td>Performance/Result</td>
</tr>
<tr>
<td>Class 10</td>
<td>SD Jain Modern School</td>
<td>2014-15</td>
<td>10 CGPA</td>
</tr>
<tr>
<td>Class 12</td>
<td>SD Jain Modern School</td>
<td>2016-17</td>
<td>94 %</td>
</tr>
<tr>
<td>JEE Mains</td>
<td>N.A.</td>
<td>2017</td>
<td>AIR-1713</td>
</tr>
<tr>
<td>JEE Advanced</td>
<td>N.A.</td>
<td>2017</td>
<td> AIR-5939</td>
</tr>
</table>
<div id="hobbies">
<h2>HOBBIES</h2>
<ul>
<li>Playing Guitar</li>
<li>Watching and Playing Cricket</li>
<li>Study</li>
</ul>
</div>
</div>
<div class="content" id="contact">
<h1>CONTACT US</h1>
Name:
<input type="text" id="NAME" />
<br>
<br>
Phone Number:
<input type="number" name="NAME" />
<br>
<br>
Comments:
<br>
<textarea name="comments" rows="4" col="80">
</textarea>
<br>
<button class="submit" onclick="fun3()">Submit</button>
</div>
</body>
<script>
function fun1(){
var content1,i,content2;
content1=document.getElementsByClassName("content");
content2=document.getElementsByClassName("h1");
for(i=0;i<content1.length;i++){
content1[i].style.display="none";
}
for(i=0;i<content2.length;i++){
content2[i].style.display="none";
}
document.getElementById("resume").style.display="block";
}
function fun2(){
var content1,i,content2;
content1=document.getElementsByClassName("content");
content2=document.getElementsByClassName("h1");
for(i=0;i<content1.length;i++){
content1[i].style.display="none";
}
for(i=0;i<content2.length;i++){
content2[i].style.display="none";
}
document.getElementById("contact").style.display="block";
}
function fun3(){
var content1,content2;
content1=document.getElementById("NAME");
content2=document.getElementById("comments");
if(content1.length==0 || content2==" "){
alert("Fill the details completely");
}
else{
alert("Thank You for your Submission");}
}
</script>
<style>
body{font-family: Arial;}
.tabs{
margin:auto;
display:block;
padding: 10px 20px;
font-size:20px;
border: 2px;
}
button {
margin-top:40px;
color: black;
font-size: 16px;
background-color: green;
text-align: center;
height:35px;
width:20%;
}
#home td, #home th{
border: 1px solid black;
padding: 8px;
}
#home tr{background-color:white;
}
#home th{
background-color:green;
text-align: center;
color:white;
}
input{
display:inline;
margin-top: auto;
height:20px;
width: 20%;
}
#NAME{margin-left:65px;}
textarea{
height:60px;
width:50%;
}
.content{
display:none;
}
.h1{
font-size:40px;
width:100%;
font-family:algerian;
}
body{
background-image: url("10.jpg");
background-size:cover;
}
.submit{
height:25px;
width:10%;
}
#hobbies{
font-size:25px;
}
</style>
</html>