-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtwelve.html
234 lines (224 loc) · 11.3 KB
/
twelve.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
223
224
225
226
227
228
229
230
231
232
233
234
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<title>CAREER GUIDANCE</title>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="utility.css">
<link rel="stylesheet" href="slider.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/typed.js/2.0.12/typed.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="path/to/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="carrerOptions.css">
<link rel="stylesheet" href="style.css">
<title>CareerOptions After 10</title>
</head>
<body>
<nav>
<div class="nav-list v-class" id="nav-elem">
<ul>
<li><a class="active" href="home.html">Home</a></li>
<li><a href="tenth.html">After 10th</a></li>
<li><a href="twelve.html">After 12th</a></li>
<li><a href="graduate.html">After Graduation</a></li>
<li><a href="#">Govt Exams</a></li>
<li><a href="#">Check Jobs</a></li>
<li><a href="contact.html">Contact us</a></li>
<li><a href="about.html">About us</a></li>
</ul>
</div>
</nav>
<!-- nav bar ends -->
<section>
<div class="progress-container">
<div class="progress-bar" id="mybar"></div>
</div>
</section>
<div class="head-cont">
<h1>Career Options After Completing 10+2</h1>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Impedit dolor voluptates autem, eius natus sed illo
placeat ullam nisi fugiat dolorum delectus modi dolores repellendus, asperiores iusto repudiandae repellat facere.
Lorem ipsum dolor, sit amet consectetur adipisicing elit. Libero, perferendis nam iure nisi harum mollitia,
exercitationem reprehenderit aliquam odit fugiat ea praesentium. Qui reiciendis cupiditate neque quae minus quas
fugiat.</p>
</div>
<div class="opt-cont">
<div class="opt-btn">
<div class="opt-mov-btn opt-btn-item" id="0">Study</div>
<div class=" opt-btn-item" id="0">Study</div>
<div class=" opt-btn-item" id="1">Jobs</div>
<div class=" opt-btn-item" id="2">Exams</div>
</div>
<div class="opt-cont-item opt-study" id="study-opt">
<ol>
<li>
<h5> 1 jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">jai ho</a></div></p>
</li>
<li>
<h5> jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#"> jai ho</a></div></p>
</li>
<li>
<h5>jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">jai ho</a></div></p>
</li>
<li>
<h5>jai ho </h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">jai jai ho</a></div></p>
</li>
</ol>
</div>
<div class="opt-cont-item opt-job" id="job-opt">
<ol>
<li>
<h5> 2 jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">Become a Ds</a></div></p>
</li>
<li>
<h5> jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#"> jai ho</a></div></p>
</li>
<li>
<h5>jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">jai ho</a></div></p>
</li>
<li>
<h5>jai ho </h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">jai jai ho</a></div></p>
</li>
</ol>
</div>
<div class="opt-cont-item opt-exam" id="exam-opt">
<ol>
<li>
<h5> 3 jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">Become a Ds</a></div></p>
</li>
<li>
<h5> jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#"> jai ho</a></div></p>
</li>
<li>
<h5>jai ho</h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">jai ho</a></div></p>
</li>
<li>
<h5>jai ho </h5>
<p> sign Lorem ipsum dolor, sit amet consectetur adipisicing elit. Ducimus optio, possimus, maxime quos
pariatur nisi quia odit nihil quaerat eveniet voluptate consequuntur velit ab officia?Lorem ipsum, dolor sit
amet consectetur adipisicing elit. Sit nostrum harum commodi culpa, odit ratione aliquid hic nesciunt sed
nulla possimus? Mollitia dignissimos iusto obcaecati doloremque nisi sunt ab reiciendis! <div
class="opt-inside-btn"><a href="#">jai jai ho</a></div></p>
</li>
</ol>
</div>
</div>
<section class="footer">
<div class="p">Lorem ipsum dolor sit amet consectetur, adipisicing elit. Perspiciatis nemo ex dolore perferendis a
recusand</div>
<div class="icons">
<i class="fa fa-facebook"></i>
<i class="fa fa-instagram" aria-hidden="true"></i>
<i class="fa fa-twitter" aria-hidden="true"></i>
<i class="fa fa-university" aria-hidden="true"></i>
<i class="fa fa-snapchat-ghost" aria-hidden="true"></i>
</div>
</section>
<!-- Footer End -->
<script>
window.onscroll = function () { myFunction() };
function myFunction() {
var winScroll = document.body.scrollTop || document.documentElement.scrollTop;
var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
var scrolled = (winScroll / height) * 100;
document.getElementById("mybar").style.width = scrolled + "%";
}
function setall(optcont) {
Array.from(optcont).forEach((e) => {
e.style.display = "none";
})
}
opt = document.getElementsByClassName("opt-btn-item");
mov = document.getElementById("0");
optcnt = document.getElementsByClassName("opt-cont-item");
console.log(optcnt)
list = ["Study", "Jobs", "Exams"]
Array.from(opt).forEach((e) => {
console.log(e.id)
e.addEventListener("click", (e) => {
console.log("click", e.target.id);
did = parseInt(e.target.id);
sid = parseInt(mov.id);
mov.id = e.target.id;
setall(optcnt);
optcnt[did].style.display = "block";
// if(did == 0)
// {
// }
// else if(did == 1)
// {
// }
// else{
// }
console.log((did - sid) * 104)
// mov.style.transform = `translateX(104%);`;
mov.style.transform = `translateX(${(did) * 104}%)`;
mov.innerText = list[did];
})
})
// for(i=0 ; i < 3 ; i++)
// {
// e= opt[i];
// console.log(e)
// e.addEventListner()
// }
</script>
</body>
</html>