-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
561 lines (535 loc) · 21.9 KB
/
index.html
File metadata and controls
561 lines (535 loc) · 21.9 KB
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
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CodeCamp | Home</title>
<link
rel="shortcut icon"
href="img/logo/Codecamp.png"
type="image/x-icon"
/>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
crossorigin="anonymous"
/>
<link rel="stylesheet" href="css/style.css" />
<style>
.box-kelas{
opacity: 0;
transform: translateY(30%);
}
</style>
</head>
<body>
<div class="area-animation"></div>
<nav class="nav">
<h1>CodeCamp</h1>
<div class="nav-menu">
<p id="nav-home">Beranda</p>
<p id="nav-program">Program</p>
<p id="nav-kelas">Kelas</p>
<p id="nav-kontak">Kontak</p>
</div>
<div class="login d-flex">
<a href="login.html">Masuk</a>
<a href="signup.html">Daftar</a>
</div>
<img src="img/icons/menu.png" alt="" id="nav-btn">
</nav>
<div class="area-nav d-flex flex-column align-items-center justify-content-around">
<div class="area-close-nav container d-flex justify-content-end">
<img id="nav-close" src="img/icons/close.png" alt="">
</div>
<p id="nav-home-res">Beranda</p>
<p id="nav-program-res">Program</p>
<p id="nav-kelas-res">Kelas</p>
<p id="nav-kontak-res">Kontak</p>
<a href="login.html">Masuk</a>
<a href="signup.html">Daftar</a>
</div>
<div class="home p-ats">
<div class="text-home">
<h6>#1 Online Course 2023</h6>
<h1>Gali dan Tingkatkan Potensi Bersama <span>CodeCamp</span></h1>
<p>
CodeCamp adalah Platform belajar Coding Secara Gratis, Mulai
Perjalanan di Dunia Coding bersama CodeCamp
</p>
<a href="index.html#program" class="btn-home">JELAJAHI PROGRAM <img src="img/icons/right-arrow.png" alt=""/></a>
</div>
<div class="area-counter-up container-fluid d-flex align-items-center justify-content-evenly">
<div class="box-counter d-flex flex-column align-items-center">
<div class="d-flex">
<h1 id="counter1">10</h1>
<h1>+</h1>
</div>
<p>Tahun Pengalaman</p>
</div>
<span></span>
<div class="box-counter d-flex flex-column align-items-center">
<div class="d-flex">
<h1 id="counter2">329</h1>
<h1>+</h1>
</div>
<p>Mentor Ahli</p>
</div>
<span></span>
<div class="box-counter d-flex flex-column align-items-center">
<div class="d-flex">
<h1 id="counter3">12</h1>
<h1>K+</h1>
</div>
<p>Review Positif</p>
</div>
<span></span>
<div class="box-counter d-flex flex-column align-items-center">
<div class="d-flex">
<h1 id="counter4">340</h1>
<h1>+</h1>
</div>
<p>Partner Perusahaan</p>
</div>
</div>
</div>
<div class="partner container-fluid d-flex flex-column align-items-center py-4">
<p>Kami Berkolaborasi dengan beberapa Perusahaan</p>
<div class="area-slider">
<div class="slider">
<div>
<ul>
<li>
<img src="https://assets.website-files.com/640ad50de56ca34470bbf3c7/640d37ef1b981538dbaa31e4_client-logo-06.svg" alt="">
</li>
<li>
<img src="https://assets.website-files.com/640ad50de56ca34470bbf3c7/640d37ef1b98155090aa31e1_client-logo-02.svg" alt="">
</li>
<li>
<img src="https://assets.website-files.com/640ad50de56ca34470bbf3c7/640d37ef1b98159539aa31df_client-logo-01.svg" alt="">
</li>
<li>
<img src="img/logo/partner2.png" alt="">
</li>
<li>
<img src="img/logo/partner1.png" alt="">
</li>
</ul>
</div>
<div>
<ul>
<li>
<img src="https://assets.website-files.com/640ad50de56ca34470bbf3c7/640d37ef1b981538dbaa31e4_client-logo-06.svg" alt="">
</li>
<li>
<img src="https://assets.website-files.com/640ad50de56ca34470bbf3c7/640d37ef1b98155090aa31e1_client-logo-02.svg" alt="">
</li>
<li>
<img src="https://assets.website-files.com/640ad50de56ca34470bbf3c7/640d37ef1b98159539aa31df_client-logo-01.svg" alt="">
</li>
<li>
<img src="img/logo/partner2.png" alt="">
</li>
<li>
<img src="img/logo/partner1.png" alt="">
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="fitur container-fluid p-ats d-flex justify-content-evenly align-items-center flex-column">
<h1>Fitur Penunjang <span>Pembelajaran Anda</span></h1>
<div class="area-fitur d-flex justify-content-evenly align-items-center">
<img src="img/codecamphome.png" alt="">
<div class="inner-area-fitur d-flex flex-column justify-content-evenly">
<div class="box-fitur d-flex align-items-center">
<div class="box-fitur-img">
<img src="img/icons/time-management.png" alt="">
</div>
<div class="inner-text">
<h1>Jadwal Fleksible</h1>
<p>Belajar dimanapun dan kapanpun sesuai keinginan anda.</p>
</div>
</div>
<div class="box-fitur d-flex align-items-center">
<div class="box-fitur-img">
<img src="img/icons/group-chat.png" alt="">
</div>
<div class="inner-text">
<h1>Komunitas Yang Baik</h1>
<p>Dengan Komunitas yang baik membantu memecahkan masalah.</p>
</div>
</div>
<div class="box-fitur d-flex align-items-center">
<div class="box-fitur-img">
<img src="img/icons/stack-of-books.png" alt="">
</div>
<div class="inner-text">
<h1>Materi Yang Mudah Dipahami</h1>
<p>Materi yang sudah disesuaikan agar mudah dipahami.</p>
</div>
</div>
</div>
</div>
</div>
<div id="program" class="promo container-fluid p-ats d-flex justify-content-around">
<div class="text-promo">
<h1>Dapatkan Program Unggulan Minggu ini</h1>
<p>tingkatkan keahlianmu dengan kelas gratis setiap minggu, kelas gratis akan berubah setiap minggu</p>
</div>
<div class="area-kelas d-flex flex-column align-items-center justify-content-evenly">
<div id="link-kelas1" class="box-kelas d-flex justify-content-evenly align-items-center">
<img src="img/Class javascript.png" alt="">
<div class="inner-kelas d-flex flex-column justify-content-evenly">
<h1>Kelas Javascript Dasar</h1>
<p>Pelajari Javascript Untuk membuat website lebih interaktif.</p>
<div class="info-kelas d-flex justify-content-around align-items-center">
<div class="d-flex align-items-center">
<img src="img/icons/time-left.png" alt="">
<p>43 Jam</p>
</div>
<div class="d-flex align-items-center">
<img src="img/icons/multiple-users-silhouette.png" alt="">
<p>34.2K Siswa</p>
</div>
</div>
</div>
</div>
<div id="link-kelas2" class="box-kelas d-flex justify-content-evenly align-items-center">
<img src="img/Class html.png" alt="">
<div class="inner-kelas d-flex flex-column justify-content-evenly">
<h1>Kelas Struktur HTML</h1>
<p>Pelajari struktur dasar HTML untuk memulai pembelajaran web development.</p>
<div class="info-kelas d-flex justify-content-around align-items-center">
<div class="d-flex align-items-center">
<img src="img/icons/time-left.png" alt="">
<p>30 Jam</p>
</div>
<div class="d-flex align-items-center">
<img src="img/icons/multiple-users-silhouette.png" alt="">
<p>59.9K Siswa</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="faq container p-ats d-flex flex-column">
<div class="heading-area-faq d-flex justify-content-between align-items-center">
<h1>Apakah ini yang anda ingin tanyakan?</h1>
<p>Banyak pertanyaan yang kami dapatkan, mungkin ini yang ingin ditanyakan kepada kami. Jika ada pertanyaan yang ingin ditanyakan dapat dengan menghubungi kontak kami</p>
</div>
<div class="bottom-area-faq d-flex align-items-center justify-content-between">
<img src="img/thinking-women.png" alt="">
<div class="inner-faq d-flex flex-column align-items-center">
<div style="margin: 20px 0px;">
<div class="faq-slider faq-slider1 d-flex justify-content-between align-items-center">
<h1>Apakah Setiap Minggu terdapat Course gratis ?</h1>
<h2 class="putar1">+</h2>
</div>
<div class="isi-slide faq-isi-slide1">
<h1>Setiap minggu akan terdapat kelas gratis yang hanya dapat diakses pada minggu tertentu</h1>
</div>
</div>
<div style="margin: 20px 0px;">
<div class="faq-slider faq-slider2 d-flex justify-content-between align-items-center">
<h1>Apakah Ada batas Waktu Belajar di CodeCamp</h1>
<h2 class="putar2">+</h2>
</div>
<div class="isi-slide faq-isi-slide2">
<h1>Untuk batas waktu belajar, kami tidak memilki batas waktu belajar</h1>
</div>
</div>
<div style="margin: 20px 0px;">
<div class="faq-slider faq-slider3 d-flex justify-content-between align-items-center">
<h1>Apakah Setelah Course mendapatkan Sertifikat ?</h1>
<h2 class="putar3">+</h2>
</div>
<div class="isi-slide faq-isi-slide3">
<h1>Setelah Belajar pada suatu kelas akan mendapatkan sebuah Sertifikat</h1>
</div>
</div>
</div>
</div>
</div>
<div class="footer p-ats">
<div class="footer-above padding-global">
<div class="container">
<div class="heading">
<h3>| CodeCamp Tagline |</h3>
<h1>Kembangkan skill coding mu.</h1>
</div>
</div>
</div>
<div class="footer-middle" id="footer">
<div class="padding-top">
<div class="footer-grid">
<div class="footer-column">
<h3>CodeCamp.</h3>
<div class="nav">
<div class="button-group">
<img src="img/icons/instagram.png" alt="">
<a href="">INSTAGRAM</a>
</div>
<div class="button-group">
<img src="img/icons/whatsapp.png" alt="">
<a href="">WHATSAPP</a>
</div>
<div class="button-group">
<img src="img/icons/facebook.png" alt="">
<a href="">FACEBOOK</a>
</div>
<div class="button-group">
<img src="img/icons/google.png" alt="">
<a href="">GOOGLE</a>
</div>
</div>
</div>
<div class="footer-column">
<h3>Halaman</h3>
<div class="nav">
<p id="link-footer-home">Beranda</p>
<p id="link-footer-program">Program</p>
<p id="link-footer-kelas">Kelas</p>
<p id="link-footer-kontak">Kontak</p>
</div>
</div>
<div class="footer-column">
<h3>Lainnya</h3>
<div class="nav">
<a href="">Faq & Bantuan</a>
<a href="">Kebijakan</a>
<a href="">Kebijakan Pribadi</a>
<a href="">Karir</a>
</div>
</div>
</div>
<div class="footer-bottom">
</div>
</div>
</div>
</div>
<script src="plugin/jquery-3.5.1.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"></script>
<script src="js/link.js"></script>
<script src="js/index.js"></script>
<script>
$(document).ready(function () {
const options = {
root: null,
rootMargin: "0px",
threshold: 0.5,
once:true,
};
const animationcounter1 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
const counterElement = $("#counter1");
const targetNumber = counterElement.text();
const duration = 3000;
const step = Math.ceil(targetNumber / (duration / 10));
let currentNumber = 0;
function updateCounter() {
if (currentNumber < targetNumber) {
currentNumber += step;
if (currentNumber > targetNumber) {
currentNumber = targetNumber;
}
counterElement.text(currentNumber);
setTimeout(updateCounter, 130);
}
}
updateCounter();
observer.unobserve(entry.target);
}
});
}, options);
const animationcounter2 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
const counterElement = $("#counter2");
const targetNumber = counterElement.text();
const duration = 1000;
const step = Math.ceil(targetNumber / (duration / 10));
let currentNumber = 0;
function updateCounter() {
if (currentNumber < targetNumber) {
currentNumber += step;
if (currentNumber > targetNumber) {
currentNumber = targetNumber;
}
counterElement.text(currentNumber);
setTimeout(updateCounter, 10);
}
}
updateCounter();
observer.unobserve(entry.target);
}
});
}, options);
const animationcounter3 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
const counterElement = $("#counter3");
const targetNumber = counterElement.text();
const duration = 3000;
const step = Math.ceil(targetNumber / (duration / 10));
let currentNumber = 0;
function updateCounter() {
if (currentNumber < targetNumber) {
currentNumber += step;
if (currentNumber > targetNumber) {
currentNumber = targetNumber;
}
counterElement.text(currentNumber);
setTimeout(updateCounter, 120);
}
}
updateCounter();
observer.unobserve(entry.target);
}
});
}, options);
const animationcounter4 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
const counterElement = $("#counter4");
const targetNumber = counterElement.text();
const duration = 1000;
const step = Math.ceil(targetNumber / (duration / 10));
let currentNumber = 0;
function updateCounter() {
if (currentNumber < targetNumber) {
currentNumber += step;
if (currentNumber > targetNumber) {
currentNumber = targetNumber;
}
counterElement.text(currentNumber);
setTimeout(updateCounter, 10);
}
}
updateCounter();
observer.unobserve(entry.target);
}
});
}, options);
const animationtext1 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".text-home h1").addClass("fade-animation");
observer.unobserve(entry.target);
}
});
}, options);
const animationtext2 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".text-home h6").addClass("opacity");
observer.unobserve(entry.target);
}
});
}, options);
const animationtext3 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".text-home p").addClass("fade-animation");
observer.unobserve(entry.target);
}
});
}, options);
const animationtext4 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".text-home a").addClass("fade-animation");
observer.unobserve(entry.target);
}
});
}, options);
const animationtext5 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".box-fitur").addClass("fade-animation");
observer.unobserve(entry.target);
}
});
}, options);
const animationtext6 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".box-kelas").addClass("fade-animation");
observer.unobserve(entry.target);
}
});
}, options);
const animationtext7 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".bottom-area-faq img").addClass("fade-animation");
observer.unobserve(entry.target);
}
});
}, options);
const animationtext8 = new IntersectionObserver((entries, observer) => {
entries.forEach((entry) => {
if (entry.isIntersecting) {
$(".faq-slider").addClass("fade-animation");
observer.unobserve(entry.target);
}
});
}, options);
const targetcounter1 = document.querySelector("#counter1");
animationcounter1.observe(targetcounter1);
const targetcounter2 = document.querySelector("#counter2");
animationcounter2.observe(targetcounter2);
const targetcounter3 = document.querySelector("#counter3");
animationcounter3.observe(targetcounter3);
const targetcounter4 = document.querySelector("#counter4");
animationcounter4.observe(targetcounter4);
const targetanimation5 = document.querySelector(".text-home h1");
animationtext1.observe(targetanimation5);
const targetanimation6 = document.querySelector(".text-home h6");
animationtext2.observe(targetanimation6);
const targetanimation7 = document.querySelector(".text-home p");
animationtext3.observe(targetanimation7);
const targetanimation8 = document.querySelector(".text-home a");
animationtext4.observe(targetanimation8);
const targetanimation9 = document.querySelector(".box-fitur");
animationtext5.observe(targetanimation9);
const targetanimation10 = document.querySelector(".box-kelas");
animationtext6.observe(targetanimation10);
const targetanimation11 = document.querySelector(".bottom-area-faq img");
animationtext7.observe(targetanimation11);
const targetanimation12 = document.querySelector(".faq-slider");
animationtext8.observe(targetanimation12);
$('.slider img').mouseenter(function(){
$('.slider').addClass('stopslider');
});
$('.slider img').mouseleave(function(){
$('.slider').removeClass('stopslider');
});
});
$(".faq-slider1").click(function(){
$(".faq-isi-slide1").slideToggle("slow");
$(".putar1").toggleClass("faq-open");
$('.faq-slider1').toggleClass("faq-slider-open");
});
$(".faq-slider2").click(function(){
$(".faq-isi-slide2").slideToggle("slow");
$(".putar2").toggleClass("faq-open");
$('.faq-slider2').toggleClass("faq-slider-open");
});
$(".faq-slider3").click(function(){
$(".faq-isi-slide3").slideToggle("slow");
$(".putar3").toggleClass("faq-open");
$('.faq-slider3').toggleClass("faq-slider-open");
});
</script>
</body>
</html>
<!-- https://upload.wikimedia.org/wikipedia/commons/thumb/1/18/Gojek_logo_2022.svg/1280px-Gojek_logo_2022.svg.png -->
<!-- https://logos-world.net/wp-content/uploads/2023/01/Tokopedia-Logo.png -->