Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create evel padagi #236

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
198 changes: 198 additions & 0 deletions evel padagi
Original file line number Diff line number Diff line change
@@ -0,0 +1,198 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Perpustakaan</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#home">Beranda</a></li>
<li><a href="#about">Tentang</a></li>
<li><a href="#books">Koleksi Buku</a></li>
<li><a href="#contact">Kontak</a></li>
</ul>
</nav>
</header>

<section id="home">
<h1>Selamat Datang di Perpustakaan</h1>
<p>Temukan buku favorit Anda dan perluas wawasan Anda.</p>
</section>

<section id="about">
<h2>Tentang Kami</h2>
<p>Perpustakaan kami menyediakan berbagai koleksi buku dari berbagai genre untuk mendukung kebutuhan pembaca.</p>
</section>

<section id="books">
<h2>Koleksi Buku</h2>
<section id="produk">
<h2>Produk Kami</h2>
<div class="product-container">
<!-- Product 1 -->
<div class="product-card">
<img src="buku 1.jfif" alt="Produk A">
<div class="info">
<h3>Buku 1</h3>
</div>
</div>
<!-- Product 2 -->
<div class="product-card">
<img src="buku 2.jfif" alt="Produk B">
<div class="info">
<h3>Buku 2</h3>
</div>
</div>
<!-- Product 3 -->
<div class="product-card">
<img src="buku 3.jfif" alt="Produk C">
<div class="info">
</div>
</div>
</div>
</section>
<div id="book-list">
<!-- Buku akan ditambahkan di sini oleh JavaScript -->
</div>
</section>

<section id="contact">
<h2>Kontak</h2>
<form id="contact-form">
<label for="name">Nama:</label>
<input type="text" id="name" name="name" required>

<label for="email">Email:</label>
<input type="email" id="email" name="email" required>

<label for="message">Pesan:</label>
<textarea id="message" name="message" required></textarea>

<button type="submit">Kirim</button>
</form>
</section>

<footer>
<p>&copy; 2025 Perpustakaan. Semua Hak Dilindungi.</p>
</footer>
<style>
/* styles.css */

body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
background-color: #f9f9f9;
color: #333;
}

header {
background: #333;
color: #fff;
padding: 1rem 0;
text-align: center;
}

header nav ul {
list-style: none;
padding: 0;
}

header nav ul li {
display: inline;
margin: 0 10px;
}

header nav ul li a {
color: #fff;
text-decoration: none;
font-weight: bold;
}

header nav ul li a:hover {
text-decoration: underline;
}

section {
padding: 20px;
text-align: center;
}

#home {
background: #0066cc;
color: #fff;
padding: 50px 20px;
}

#about, #books, #contact {
background: #fff;
border: 1px solid #ddd;
margin: 20px auto;
max-width: 800px;
border-radius: 5px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

#books #book-list {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 20px;
margin-top: 20px;
}

#books #book-list div {
background: #f1f1f1;
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
width: 150px;
text-align: center;
}

form {
display: flex;
flex-direction: column;
gap: 10px;
max-width: 500px;
margin: 0 auto;
}

form label {
font-weight: bold;
}

form input, form textarea, form button {
padding: 10px;
border: 1px solid #ddd;
border-radius: 5px;
}

form button {
background: #0066cc;
color: #fff;
border: none;
cursor: pointer;
}

form button:hover {
background: #004c99;
}

footer {
background: #333;
color: #fff;
text-align: center;
padding: 10px 0;
position: relative;
bottom: 0;
width: 100%;
}
</style>
</body>
</html>