-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
127 lines (121 loc) · 5.79 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<title>Basic Web Programming - 1</title>
</head>
<body class="bg-slate-50">
<div class="flex flex-col items-center">
<header class="bg-white p-4 shadow-lg w-full">
<nav class="text-lg font-medium flex flex-row gap-8 justify-center">
<div>
<a href="#perkenalan">Perkenalan</a>
</div>
<div>
<a href="#table">Table Example</a>
</div>
<div>
<a href="#form">Form Example</a>
</div>
<div>
<a href="#list">List Example</a>
</div>
</nav>
</header>
<div id="perkenalan" class=" w-[90%]">
<div class="flex flex-col justify-center items-center mt-12 ">
<h1 class="text-2xl font-semibold">
Hi!
</h1>
<p class="font-normal text-lg">Perkenalkan nama saya Muhammad Bimatara Indianto dari PWEB H</p>
<p class="font-normal text-lg">Disini saya mengerjakan Tugas Pertemuan ke 2 dari Pemroraman Web</p>
<img src="./img/Capture.JPG" alt="MyPict" class="mt-4 rounded-full">
</div>
</div>
<div id="table" class="flex flex-col justify-center items-center mt-16">
<div id="text" class="font-medium text-2xl text-center">
<p>Disini Merupakan contoh dari table</p>
<p class="text-lg">Table berikut adalah list dari movie yang pernah saya lihat</p>
</div>
<table class="table-fixed mt-4 p-3 border text-center">
<tr class="">
<th class="p-3 border border-slate-300 bg-slate-100">No.</th>
<th class="p-3 border border-slate-300 bg-slate-100">Nama Movie</th>
<th class="p-3 border border-slate-300 bg-slate-100">Tahun Terbit </th>
<th class="p-3 border border-slate-300 bg-slate-100">Asal Kota</th>
<th class="p-3 border border-slate-300 bg-slate-100">Rating</th>
</tr>
<tr>
<td class="p-3 border border-slate-300">1</td>
<td class="p-3 border border-slate-300">One Piece</td>
<td class="p-3 border border-slate-300">1996</td>
<td class="p-3 border border-slate-300">Jepang</td>
<td class="p-3 border border-slate-300">10</td>
</tr>
<tr>
<td class="p-3 border border-slate-300">2</td>
<td class="p-3 border border-slate-300">Habibie ainun</td>
<td class="p-3 border border-slate-300">2012</td>
<td class="p-3 border border-slate-300">Indonesia</td>
<td class="p-3 border border-slate-300">8</td>
</tr>
<tr>
<td class="p-3 border border-slate-300">3</td>
<td class="p-3 border border-slate-300">Naruto</td>
<td class="p-3 border border-slate-300">2000</td>
<td class="p-3 border border-slate-300">Jepang</td>
<td class="p-3 border border-slate-300">10</td>
</tr>
</table>
</div>
<div id="form" class="flex flex-col gap-2 mt-12 text-center">
<h1 class="text-lg font-bold text-center">Contoh Form</h1>
<form action="" method="post" class="flex flex-col gap-4">
<div>
<label for="nama">Nama :</label>
<input type="text" name="nama" id="nama" placeholder="Masukkan Nama" class="w-44 py-1 px-2 rounded-lg border border-slate-200">
</div>
<div>
<label for="email">Email :</label>
<input type="email" name="email" id="email" placeholder="Masukkan email" class="w-44 py-1 px-2 rounded-lg border border-slate-200">
</div>
<div>
<label for="umur">Umur :</label>
<input type="number" name="umur" id="umur" placeholder="Masukkan umur" class="w-44 py-1 px-2 rounded-lg border border-slate-200">
</div>
<div>
<button class="bg-white py-2 px-6 rounded-lg border border-slate-400 shadow-lg"> Submit</button>
</div>
</form>
</div>
<div id="list" class="flex flex-col gap-2 mt-12 ">
<div id="text" class="text-lg font-semibold text-center">
<h1>Contoh dari List</h1>
<p>Disini merupakan contoh dari list makanan makanan yang ada di ITS</p>
</div>
<ol class="list-disc ml-4">
<li>J-One</li>
<li>Joder</li>
<li>Warung Kampus</li>
<li>Kantin Pusat</li>
</ol>
</div>
<footer class="bg-gray-900 text-white py-4 w-full mt-12">
<div class="container mx-auto text-center">
<p class="text-lg font-medium">Connect with me:</p>
<div class="mt-4">
<a href="https://www.linkedin.com/in/muhammad-bimatara-indianto-b3b98b25b/" class="text-blue-500 hover:text-blue-400 mx-2" target="_bl ank">
LinkedIn
</a>
<a href="https://github.com/Haalloobim" class="text-gray-500 hover:text-gray-400 mx-2" target="_blank">
GitHub
</a>
</div>
</div>
</footer>
</div>
</body>
</html>
<