Skip to content

Commit f5c3998

Browse files
committed
Add exam assignment
1 parent e615156 commit f5c3998

File tree

14 files changed

+728
-0
lines changed

14 files changed

+728
-0
lines changed

tugas-uas-husein/images/.gitkeep

Whitespace-only changes.
1.76 MB
Loading
256 KB
Loading
1.77 MB
Loading
1.12 MB
Loading

tugas-uas-husein/images/hero.png

1.57 MB
Loading
332 KB
Loading
1.55 MB
Loading
369 KB
Loading

tugas-uas-husein/index.html

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<title>Warung Ngoding</title>
7+
<link rel="stylesheet" href="style.css">
8+
</head>
9+
10+
<body>
11+
<nav
12+
style="background-color: #333; padding: 1rem; position: sticky; top: 0; z-index: 100; display: flex; align-items: center;">
13+
<h1 style="margin: 0; color: white; font-size: 1.5rem;">Warung Ngoding</h1>
14+
<ul
15+
style="list-style: none; margin: 0; padding: 0; display: flex; gap: 2rem; flex: 1; justify-content: center;">
16+
<li><a href="./index.html"
17+
style="color: white; text-decoration: none; font-weight: 500; transition: color 0.3s;">Home</a></li>
18+
<li><a href="./produk.html"
19+
style="color: white; text-decoration: none; font-weight: 500; transition: color 0.3s;">Produk</a>
20+
</li>
21+
<li><a href="./tentang.html"
22+
style="color: white; text-decoration: none; font-weight: 500; transition: color 0.3s;">Tentang</a>
23+
</li>
24+
</ul>
25+
</nav>
26+
<header class="hero"
27+
style="background-image: url('./images/hero.png'); background-size: cover; background-position: center; color: white; text-align: center; height: 500px; display: flex; flex-direction: column; justify-content: center; position: relative;">
28+
<div style="background: rgba(0,0,0,0.5); position: absolute; top: 0; left: 0; width: 100%; height: 100%;"></div>
29+
<h2 style="position: relative; z-index: 1;">Ngoding sambil ngopi</h2>
30+
<p style="position: relative; z-index: 1;">Debugging tanpa ngopi? Impossible!</p>
31+
</header>
32+
<section class="produk-highlight">
33+
<h3>Produk Unggulan</h3>
34+
<div class="cards">
35+
<div class="card">
36+
<img src="./images/coffee-bag.png" alt="Kopi Nusantara">
37+
<h4>Kopi Nusantara (250g)</h4>
38+
<p>Rp 50.000</p>
39+
<small>Kopi robusta pilihan untuk menemani setiap baris kode.</small>
40+
</div>
41+
<div class="card">
42+
<img src="./images/mug-custom.png" alt="Mug Hello World">
43+
<h4>Mug "Hello World"</h4>
44+
<p>Rp 40.000</p>
45+
<small>Mug custom dengan desain programmer yang unik.</small>
46+
</div>
47+
<div class="card">
48+
<img src="./images/t-shirt.png" alt="Kaos Syntax Error">
49+
<h4>Kaos "Syntax Error"</h4>
50+
<p>Rp 90.000</p>
51+
<small>Kaos nyaman dipakai saat begadang ngebut project.</small>
52+
</div>
53+
</div>
54+
</section>
55+
56+
<section class="kontak">
57+
<h2>Hubungi Kami</h2>
58+
<form id="contactForm">
59+
<div class="form-group">
60+
<label for="nama">Nama Lengkap *</label>
61+
<input type="text" id="nama" name="nama" placeholder="Masukkan nama lengkap Anda" required>
62+
</div>
63+
64+
<div class="form-group">
65+
<label for="email">Email *</label>
66+
<input type="email" id="email" name="email" placeholder="contoh@email.com" required>
67+
</div>
68+
69+
<div class="form-group">
70+
<label for="subject">Subjek</label>
71+
<input type="text" id="subject" name="subject" placeholder="Tentang apa pesan Anda?">
72+
</div>
73+
74+
<div class="form-group">
75+
<label for="pesan">Pesan *</label>
76+
<textarea id="pesan" name="pesan" placeholder="Tulis pesan Anda di sini..." required></textarea>
77+
</div>
78+
79+
<button type="submit">Kirim Pesan</button>
80+
</form>
81+
</section>
82+
83+
<footer>
84+
&copy; 2025 Warung Ngoding
85+
</footer>
86+
<script src="script.js"></script>
87+
</body>
88+
89+
</html>

0 commit comments

Comments
 (0)