modul 8
mp 1
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Generator Bilangan Prima</title>
<link rel="stylesheet" href="modul8.css">
</head>
<body>
<h1>Generator Bilangan Prima</h1>
<hr>
<label>Angka Pertama:</label>
<input type="number" id="inputAngkaPertama" min="2" required>
<br>
<label>Angka Terakhir:</label>
<input type="number" id="inputAngkaTerakhir" min="3" required>
<br>
<button onclick="generatePrimes()">Generate Bilangan Prima</button>
<table id="primeTable">
<tr>
<th>Bilangan Prima</th>
</tr>
</table>
<script src="modul8.js"></script>
</body>
</html>
mp 2
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SORTING LIST</title>
<link rel="stylesheet" href="modul8.p2.css">
</head>
<body>
<h1>SORTING LIST</h1>
<label for="angkaInput">Angka</label>
<input type="text" name="" id="angkaInput">
<br>
<label for="sort">Sort</label>
<input type="radio" name="radio" id="asc" value="ascO" checked>
<label for="asc">Ascending</label>
<input type="radio" name="radio" id="desc" value="descO">
<label for="desc">Descending</label>
<br>
<button onclick="Sort()">Sort</button>
<table id="Result"></table>
<script src="modul8.p2.js"></script>
</body>
</html>
mp 3
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Min Max Generator</title>
<link rel="stylesheet" href="modul8.mp3.css">
</head>
<body>
<h1>Min Max Generator</h1>
<label for="InputNum">Angka</label>
<input type="text" id="InputNum" name="input">
<br>
<button type="button" onclick="Find()">Find</button>
<table id="result"></table>
<script src="modul8.mp3.js"></script>
</body>
</html>
mp 4
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mini Inventory</title>
<link rel="stylesheet" href="modul8mp4.css">
<body>
<input type="text" id="namaBarang" placeholder="Nama Barang">
<input type="number" id="berat" placeholder="Berat (kg)">
<input type="text" id="gambar" placeholder="URL Gambar">
<button onclick="tambahData()">Tambah</button>
<table border="1">
<thead>
<tr>
<th>No</th>
<th>Nama Barang</th>
<th>Berat</th>
<th>Gambar</th>
<th>Aksi</th>
</tr>
</thead>
<tbody id="barangBody"></tbody>
</table>
<script src="modul8mp4.js"></script>
</body>
</html>
mp 5
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mini Inventory</title>
<link rel="stylesheet" href="modul8mp5.css">
</head>
<body>
<input type="text" id="namaBarang" placeholder="Nama Barang">
<input type="number" id="berat" placeholder="Berat (kg)">
<input type="text" id="gambar" placeholder="URL Gambar">
<button onclick="tambahData()">Tambah</button>
<table border="1">
<thead>
<tr>
<th>No</th>
<th>Nama Barang</th>
<th>Berat</th>
<th>Gambar</th>
<th>Aksi</th>
</tr>
</thead>
<tbody id="barangBody"></tbody>
</table>
<ul class="pagination" id="pagination"></ul>
<script src="modul8mp5.js"></script>
</body>
</html>
Komentar
Posting Komentar