You are on page 1of 1

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Inventaris Barang</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>Inventaris Barang</h1>
</header>
<main>
<section id="add-item">
<h2>Tambah Barang Baru</h2>
<form id="item-form">
<label for="item-name">Nama Barang:</label>
<input type="text" id="item-name" required>
<label for="item-quantity">Jumlah:</label>
<input type="number" id="item-quantity" required>
<button type="submit">Tambah</button>
</form>
</section>
<section id="inventory">
<h2>Daftar Barang</h2>
<ul id="item-list">
<!-- Daftar barang akan ditampilkan di sini -->
</ul>
</section>
</main>
<script src="script.js"></script>
</body>
</html>

You might also like