-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
251 lines (187 loc) · 9.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mini Project - Treasure Website</title>
<link rel="stylesheet" href="css\style.css">
</head>
<body>
<!-- Logo & Navigation -->
<header class="main-header">
<!-- Logo -->
<div class="logo-icon"></div>
<!-- Navigation -->
<nav>
<a href="#home-page" class="left-rounded">Home</a>
<a href="#our-profile">Profile</a>
<a href="#portofolio">Album's</a>
<a href="#message-us" class="right-rounded">Contact us</a>
</nav>
</header>
<hr/>
<!-- Main Content -->
<main>
<!-- Home Page -->
<section>
<!-- Title -->
<!-- <header id="home-page">
<h1>Hi <span id="user-greeting">user</span>, welcome to TREASURE website</h1>
</header> -->
<header id="home-page">
<form name="message-form" onsubmit="return validateForm()">
<input required type="text" placeholder="nama user" id="user-name" name="user-name">
<button id="submit" type="submit">Kirim</button>
<p id="error-name"></p>
</form>
<h1>Hi <span id="username">-</span>, nice to meet you!</h1>
</header>
<!-- <header id="home-page">
<form name="message-form" onsubmit="return validateForm()">
<input required type="text" placeholder="nama anda" id="name-input" name="nama-input">
<button id="submit" type="submit">Kirim</button>
<p id="error-name"></p>
</form>
<h1>Hi <span id="name">-</span>, nice to meet you!</h1>
</header> -->
<div class="banner-image banner-image-1"></div>
<div class="banner-image banner-image-2"></div>
<div class="banner-image banner-image-3"></div>
<div class="slider">
<button onclick="nextBanner()">Slide</button>
</div>
<!-- SLider cara ke-2 -->
<!--<div class="slide-show">
<img class="img-slideshow" src="https://plus.unsplash.com/premium_photo-1668024966086-bd66ba04262f?q=80&w=1792&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" width="1080px" height="400px"/>
<img class="img-slideshow" src="https://images.unsplash.com/photo-1500964757637-c85e8a162699?q=80&w=1806&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" width="1080px" height="400px"/>
<img class="img-slideshow" src="https://plus.unsplash.com/premium_photo-1669886376837-8742fc815a0e?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D" width="1080px" height="400px"/>
<button onclick="plusDivs(-1)">Previous</button>
<button onclick="plusDivs(1)">Next</button>
</div>
<script>
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs((slideIndex += n));
}
function showDivs(n) {
var i;
var imgList = document.getElementsByClassName("img-slideshow");
if (n > imgList.length) slideIndex = 1;
else if (n < 1) slideIndex = imgList.length;
// console.log(slideIndex);
for (i = 0; i < imgList.length; i++) {
imgList[i].style.display = "none";
}
imgList[slideIndex-1].style.display = "block";
}
setInterval(() => { // biar gambarnya otomatis jalan
plusDivs(1);
}, 2000);
</script> -->
</section>
<!-- Our Profile -->
<section>
<!-- Title -->
<header id="our-profile">
<h1>Profile</h1>
</header>
<div class="content-profile">
<p>
Treasure is a South Korean boy band formed in 2019 by YG Entertainment, through YG Treasure Box (2018–2019); and consists of 10 members: Choi Hyun-suk, Jihoon, Yoshi, Junkyu, Yoon Jae-hyuk, Asahi, Doyoung, Haruto, Park Jeong-woo, and So Jung-hwan.
</p>
</div>
</section>
<!-- Portofolio -->
<section>
<!-- Title -->
<header id="portofolio">
<h1>Album's</h1>
</header>
<div class="content-porto">
<div class="content-porto-item">
<p>LAST NIGHT</p>
<div class="img-porto img-porto-1"></div>
<p>
The new song ‘LAST NIGHT’ is an energetic dance track that showcases TREASURE’s youthful and vibrant energy, offering a fresh and new charm that contrasts with the powerful vibe of their previous single, ‘KING KONG’.
</p>
</div>
<div class="content-porto-item">
<p>KING KONG</p>
<div class="img-porto img-porto-2"></div>
<p>
TREASURE's latest release, 'KING KONG', is a dance track with finely tuned dynamics. It boasts a unique sound, defined by its sharp beats and resonant bassline. The track showcases TREASURE's musical evolution, with powerful vocals that highlight the group's growth. Lyrically, it draws inspiration from the theme of blind love depicted in "KING KONG", expressing sentiments of unwavering devotion despite acknowledging that the relationship may not endure.
</p>
</div>
<div class="content-porto-item">
<p>REBOOT</p>
<div class="img-porto img-porto-3"></div>
<p>
The second full album "REBOOT” includes 10 high-quality tracks, and highlights TREASURE’s exceptional production skills, serving as a signal for their new start.Through a more expanded music spectrum, TREASURE will be presenting their fascinating tracks and scaled-up performances that move beyond their youthful image.The meaning of REBOOT by TREASURE is … LOADING…
</p>
</div>
</div>
</section>
<!-- Message us -->
<section>
<!-- Title -->
<header id="message-us">
<h1>Message Us</h1>
</header>
<div class="content-message">
<form id="input-form">
<div>
<label for="name-input">Name</label>
<input type="text" name="name" id="name-input" placeholder="Enter your name" required>
</div>
<div>
<label for="tanggal-input">Tanggal Lahir</label>
<input type="date" name="tanggal" id="tanggal-input" required>
</div>
<div>
<label for="jk-input">Jenis Kelamin </label>
<!-- <input type="text" name="name" id="name-input" placeholder="Enter your name" required> -->
<input type="radio" id="jk-input-lakilaki" name="laki-laki" value="Laki-laki" required>
<label for="laki-laki">Laki-laki</label>
<input type="radio" id="jk-input-perempuan" name="perempuan" value="Perempuan" required>
<label for="perempuan">Perempuan</label>
</div>
<div>
<label for="pesan-input">Pesan</label>
<textarea name="pesan" id="pesan-input" placeholder="Pesan" required></textarea>
</div>
<!-- <button type="button" id="submit-btn" onclick="formValidation()">Submit</button> -->
<br>
<button type="button" id="submit-btn">Submit</button>
<!-- klo pake doc di javascript onclick dihilangkan -->
</form>
<br>
<div class="result-form">
<div class="preview-item">
<label>Nama : </label>
<span id="result-form-nama"></span>
</div>
<div class="preview-item">
<label>Tanggal Lahir : </label>
<span id="result-form-tanggal"></span>
</div>
<div class="preview-item">
<label>Jenis kelamin : </label>
<span id="result-form-jk"></span>
</div>
<div class="preview-item">
<label>Pesan : </label>
<span id="result-form-pesan"></span>
</div>
</div>
</div>
</section>
</main>
<hr/>
<!-- Footer -->
<footer>
<p>© 2025 - TREASURE</p>
</footer>
<script src="js\script.js"></script>
</body>
</html>