-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
725 lines (643 loc) · 14.8 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
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
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>ROMLI SUHANDA</title>
<!-- <link rel="stylesheet" type="text/css" href="css/css.css"> -->
<!-- <link rel="shortcut icon" href="https://assets.pikiran-rakyat.com/crop/0x0:0x0/x/photo/2023/02/10/3853279200.jpg">
-->
<link rel="icon" type="image/jpg" href="ROMLI.jpeg">
<style type="text/css">
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
/* MODE DARK */
:root {
--bgcolor: #DEE0E1;
--navcolor: #E9EAEA;
--tcolor: black;
--bos: #181818;
}
* {
margin: 0;
padding: 0;
}
body {
font-family: 'poppins', sans-serif;
box-sizing: border-box;
background-color: var(--bgcolor);
/*height: 1000vh;*/
/*overflow-x: hidden;*/
}
.head {
position: fixed;
display: flex;
width: 100%;
padding: 2vh;
background-color: #fff;
/*box-shadow: 0vh 0vh 0.1vh black;*/
justify-content: space-between;
align-items: center;
transition: 0.5s;
}
.ya {
position: fixed;
width: 100%;
z-index: 1;
padding: 20px;
color: black;
background-color: transparent;
backdrop-filter: blur(10px);
box-shadow: 0vh 0vh 0.4vh black;
transition: 0.5s;
padding: 2vh;
}
.head h2 {
position: relative;
font-size: 4vh;
color: orange;
z-index: 2;
}
.head nav ul {
list-style: none;
display: flex;
}
.head nav ul li {
width: 140px;
}
.head nav ul li a {
text-decoration: none;
color: var(--tcolor);
font-weight: bold;
z-index: 2;
}
.head .mnu {
display: none;
z-index: 2;
color: #fff;
}
.cntn {
position: relative;
top: 19vh;
padding: 5vh;
transition: 0.5s;
}
#home {
/*background-image: linear-gradient(to right bottom, #0c97fa, #16e1f5);*/
color: #fff;
background-color: #181818;
/*margin-left: 5vh;*/
border-radius: 2vh 2vh 0vh 0vh;
width: 40vh;
display: block;
margin: auto;
text-align: center;
transition: 0.5s;
}
#home h1 {
font-size: 5vh;
}
.cntn .btn button {
padding: 2vh;
border: none;
background-color: black;
color: #fff;
border-radius: 10vh;
font-weight: bold;
cursor: pointer;
margin-top: 2vh;
}
#about {
margin-top: 20vh;
}
#about img {
position: relative;
bottom: 2vh;
display: block;
margin: auto;
border-radius: 1vh;
box-shadow: 0.3vh 0.3vh 1vh black;
}
#about h1 {
text-align: center;
}
#about .sosmed ul {
list-style: none;
display: flex;
}
#about .sosmed ul li {
margin: 2vh;
background-color: #181818;
width: 40px;
height: 40px;
border-radius: 50%;
opacity: 0.5;
}
#about .sosmed ul li:hover {
opacity: 1;
}
#about .sosmed ul li a {
position: relative;
right: 0.8vh;
text-decoration: none;
color: #fff;
display: flex;
width: 50px;
height: 40px;
justify-content: center;
align-items: center;
}
#blog {
background-color: var(--bgcolor);
padding-bottom: 10vh;
transition: 0.5s;
}
#blog h1 {
text-align: center;
}
#blog h3 {
text-align: center;
opacity: 0.5;
}
#blog p {
opacity: 0.7;
}
#blog img {
border-radius: 1vh;
box-shadow: 0.3vh 0.3vh 1vh black;
}
#blog a {
position: relative;
top: 1vh;
font-size: 3vh;
color: #fff;
/*padding: 1vh;*/
border-radius: 1vh;
color: darkcyan;
text-decoration: none;
}
#blog a:hover {
text-decoration: underline;
}
#blog h4 {
font-size: 3vh;
}
#contact {
background-color: #181818;
color: #fff;
text-align: center;
transition: 0.5s;
}
#contact h1 {
text-align: center;
}
#contact p {
opacity: 0.5;
}
#contact .input {
text-align: center;
font-size: 2vh;
}
#contact .input input{
outline: none;
background-color: #181818;
color: #fff;
border: none;
border-bottom: 1px solid #fff;
width: 250px;
padding: 2vh;
margin: 1vh;
}
#contact .input textarea {
color: #fff;
outline: none;
background-color: #181818;
border: none;
border-bottom: 1px solid #fff;
}
#contact .input .btn {
width: 100%;
border: none;
outline: none;
background-color: #181818;
color: #fff;
box-shadow: 0vh 0vh 1vh black;
padding: 2vh;
border-radius: 1vh;
}
#contact .input .btn:hover {
background-color: black;
}
#foot {
background-color: /*#22B048*/ darkcyan;
color: #fff;
}
#foot p {
font-size: 2vh;
opacity: 0.8;
}
#foot .mnu ul li {
list-style: none;
color: #fff;
}
#foot .mnu ul li a {
color: #fff;
text-decoration: none;
opacity: 0.5;
}
#foot .mnu ul li a:hover {
text-decoration: underline;
}
#foot .akhir {
width: 100%;
}
#foot .akhir ul {
list-style: none;
display: flex;
justify-content: center;
}
#foot .akhir ul li {
margin: 2vh;
}
#foot .akhir ul li a {
color: #fff;
text-decoration: none;
opacity: 0.5;
}
#foot .love {
color: hotpink;
}
#foot .nama {
color: cyan;
}
.navbar {
position: fixed;
font-size: 3vh;
font-weight: bold;
right: -370px;
top: 70px;
line-height: 10vh;
padding: 3vh;
width: 200px;
height: auto;
background-color: #fff;
z-index: 999;
transition: 0.5s;
display: none;
box-shadow: 0vh 0vh 0.2vh black;
}
.slide {
position: fixed;
right: 0;
transition: 0.5s;
}
.navbar ul li {
list-style: none;
}
.navbar ul li a {
text-decoration: none;
color: black;
}
.navbar ul li a .text {
position: relative;
left: 1vh;
opacity: 0.8;
transition: 0.5s;
}
.navbar ul li a .text:hover {
position: relative;
left: 1.5vh;
opacity: 1;
transition: 0.5s;
}
@media only screen and (max-width: 768px) {
.navbar {
display: block;
}
.head {
padding: 10px;
}
.head h2 {
left: 2vh;
}
.ya {
padding: 15px;
}
.head nav {
display: none;
}
.head .mnu {
position: relative;
right: 50px;
font-size: 4vh;
cursor: pointer;
display: block;
color: orange;
}
}
.hr hr {
position: relative;
top: 19vh;
box-shadow: 0vh 0.3vh 0.5vh black;
}
#game {
background-color: #ffff;
/*text-align: center;*/
}
#game h1 {
text-align: center;
on
}
#game h3 {
text-align: center;
font-size: 2.5vh;
opacity: 0.5;
}
#game img {
border-radius: 1vh;
box-shadow: 0.3vh 0.3vh 1vh black;
}
#game p {
font-weight: bold;
opacity: 0.5;
}
#game a {
color: darkcyan;
text-decoration: none;
font-weight: 900;
font-size: 3vh;
}
</style>
</head>
<body>
<!-- HEAD AWAL -->
<header class="head">
<h2>ROMZZZ</h2>
<nav>
<ul>
<li class="list">
<a href="#home">Home</a>
</li>
<li class="list">
<a href="#about">About</a>
</li>
<li class="list">
<a href="#blog">Blog</a>
</li>
<li class="list">
<a href="#contact">Contact</a>
</li>
</ul>
</nav>
<span class="mnu">
<i class="fa fa-bars" id="btn"></i>
</span>
</header>
<!-- HEAD AKHIR -->
<nav class="navbar">
<ul>
<li class="list">
<a href="#home">
<span class="icon"><i class="fa fa-home"></i></span>
<span class="text">
Home
</span>
</a>
</li>
<li class="list">
<a href="#about">
<span class="icon"><i class="fa-solid fa-address-card"></i></span>
<span class="text">
About
</span>
</a>
</li>
<li class="list">
<a href="#blog">
<span class="icon"><i class="fa-brands fa-blogger-b"></i></span>
<span class="text">
Blog
</span>
</a>
</li>
<li class="list">
<a href="#contact">
<span class="icon"><i class="fa-solid fa-phone"></i></span>
<span class="text">
Contact
</span>
</a>
</li>
</ul>
</nav>
<!-- SECTION HOME AWAL -->
<section class="cntn" id="home">
<h1>ROMLI SUHANDA</h1>
<h3>Front End Dev</h3>
<div class="btn">
<button>
Hubungi Saya!
</button>
</div>
</section>
<!-- SECTION HOME AKHIR -->
<div class="hr">
<hr>
</div>
<section class="cntn" id="about">
<img src="salkn.jpeg" alt="ROMLI SUHANDA" width="250">
<br>
<h1>ABOUT ME</h1>
<br>
<p>Hallo Semua, saya Romli Suhanda biasa dipanggil omi, umur saya kini 17thn, Hobi saya adalah ngoding dan membuat website sederhana, cita-cita saya yg ingin menjadi proggramer, saya belajar bahasa proggram selama lebih dari 1thn, seperti HTML, CSS, JAVASCRIPT, dan PHP, sekian terima kasih masbro.</p>
<br>
<h2>Mari Berteman</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
</p>
<div class="sosmed">
<ul>
<li class="fb">
<a href="https://facebook.com/romzz103" target="_blank">
<i class="fa fa-facebook"></i>
</a>
</li>
<li class="wa">
<a href="https://wa.me/6281322667077" target="_blank">
<i class="fa fa-whatsapp"></i>
</a>
</li>
<li class="ig">
<a href="https://instagram.com/romli_suhanda" target="_blank">
<i class="fa fa-instagram"></i>
</a>
</li>
<li class="gh">
<a href="https://github.com/romlisuhanda" target="_blank">
<i class="fa fa-github"></i>
</a>
</li>
</ul>
</div>
</section>
<section class="cntn" id="game">
<h1>GAME</h1>
<br>
<h3>Game Yang Dirancang Menggunkan <br> HTML dan JAVASCRIPT</h3>
<br>
<br>
<img src="AAAAA.jpeg" width="100%" alt="game">
<br>
<div class="bwh">
<h4>
Game POPCAT
</h4>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
</p>
<a href="https://popcat.romlisuhanda.relp.co/" target="_blank">
Mainkan Sekarang..
</a>
</div>
<br>
<img src="gmy.jpeg" width="100%" alt="game">
<br>
<div class="bwh">
<h4>
Game Ular 3D
</h4>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.
</p>
<a href="https://romlisuhanda.github.io/gameular3D/" target="_blank">
Mainkan Sekarang..
</a>
</div>
</section>
<section class="cntn" id="blog">
<h1>BLOG</h1>
<br>
<h3>Tulisan Terkini</h3>
<br>
<img src="https://source.unsplash.com/360x200?programming" alt="Programming" width="100%"/>
<div class="bwh">
<h4>
Belajar Bahasa Proggram Mulai Dari Mana?
</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
<a href="#">Baca Selengkapnya..</a>
</div>
<br>
<br>
<img src="https://source.unsplash.com/360x200?mechanical+keyboard" alt="Mechanical Keyboard" width="100%" />
<div class="bwh">
<h4>
Keyboard Mechanical
</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod.</p>
<a href="#">Baca Selengkapnya..</a>
</div>
<br>
<br>
<img src="https://source.unsplash.com/360x200?coffee" alt="MASBRO" width="100%">
<div class="bwh">
<h4>
Menikmati Secangkir Kopi
</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
<a href="#">Baca Selengkapnya..</a>
</div>
</section>
<section class="cntn" id="contact">
<h1>CONTACT</h1>
<br>
<h4>Hubungi Saya</h4>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut</p>
<br>
<div class="input">
<input type="text" placeholder="Masukan nama.."><br>
<input type="text" placeholder="Masukan alamat..">
<br>
<br>
<textarea cols="20" rows="10" placeholder="Masukan Pesan Anda.."></textarea>
<br>
<br>
<button class="btn">Kirim Pesan</button>
</div>
</section>
<section class="cntn" id="foot">
<h1>ROMZZZ NGABB!</h1>
<p>jln Cipatik - Soreang <br> Bandung Barat <br> Jawa Barat Indonesia</p>
<br>
<div class="mnu">
<h2>Tautann</h2>
<ul>
<li>
<a href="#home">Home</a>
</li>
<li>
<a href="#about">About</a>
</li>
<li>
<a href="#blog">Blog</a>
</li>
<li>
<a href="#contact">Contact</a>
</li>
</ul>
</div>
<br>
<p align="center">
SMPN 03 CIHAMPELAS
</p>
<br>
<hr>
<br>
<div class="akhir">
<ul>
<li>
<a href="https://facebook.com/romzz103" target="_blank">
<i class="fa fa-facebook"></i>
</a>
</li>
<li>
<a href="https://wa.me/6281322667077" target="_blank">
<i class="fa fa-whatsapp"></i>
</a>
</li>
<li>
<a href="https://instagram.com/romli_suhanda" target="_blank">
<i class="fa fa-instagram"></i>
</a>
</li>
<li>
<a href="https://github.com/romlisuhanda" target="_blank">
<i class="fa fa-github"></i>
</a>
</li>
</ul>
</div>
<p align="center">Dibuat dengan <span class="love">❤️</span> oleh <span class="nama">Romli Suhanda</span></p>
</section>
<script type="text/javascript">
window.onscroll = () => {
const head = document.querySelector('header');
const fixed = head.offsetTop;
if(window.pageYOffset > fixed) {
head.classList.add('ya');
} else {
head.classList.remove('ya');
}
}
const mnu = document.querySelector('#btn');
const nav = document.querySelector('.navbar');
mnu.addEventListener('click', ()=> {
nav.classList.toggle('slide');
})
</script>
<script src="https://kit.fontawesome.com/35d4eea580.js" crossorigin="anonymous"></script>
</body>
</html>