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

Mengedit index dan css #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
20 changes: 13 additions & 7 deletions asset/css/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body {

a {
text-decoration: none;
color: #e6e6e6;
color: white;
}

.container {
Expand All @@ -18,7 +18,7 @@ color: #e6e6e6;
display: flex;
align-items: center;
justify-content: center;
background-color: #c5a880;
background-color: dodgerblue;
}

.content {
Expand All @@ -29,7 +29,7 @@ color: #e6e6e6;
flex-direction: column;
align-items: center;
border-radius: 20px;
background-color: #e6e6e6;
background-color: white;
box-shadow: 2px 2px 2px 2px initial;
}

Expand Down Expand Up @@ -58,6 +58,11 @@ input {
padding: 5px;
border: none;
border-radius: 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
-ms-border-radius: 5px;
-o-border-radius: 5px;
border: 2px solid black;
}

.btn-tambah {
Expand All @@ -70,7 +75,7 @@ input {
font-size: 15px;
color: #e6e6e6;
border-radius: 5px;
background-color: #532e1c;
background-color: dodgerblue;
}

.btn-reset {
Expand All @@ -83,7 +88,7 @@ input {
font-size: 15px;
color: #e6e6e6;
border-radius: 5px;
background-color: #ff0000;
background-color: red;
}

table {
Expand All @@ -96,6 +101,7 @@ th {
}

td {
padding: 5px;
border-top: 2px solid #532e1c;
/* padding: 5px; */
text-align: center;
/* border-bottom: 2px solid #532e1c; */
}
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@
<div class="container">
<!-- Bagian Content -->
<div class="content">
<h1 class="title">DATA MAHASISWA</h1>
<h1 class="title">DATA SISWA</h1>
<!-- Bagian Form -->
<form id="dataMahasiswa" action="">
<div class="div-input">
<p>Form Tambah Data Mahasiswa</p>
<input type="text" name="nim" id="nim" placeholder="Masukan NIM..." autofocus />
<p>Form Tambah Data Siswa</p>
<input type="text" name="nim" id="nim" placeholder="Masukan Nomer Absen..." autofocus />
<input type="text" name="nama" id="nama" placeholder="Masukan Nama..." />
<input type="text" name="kelas" id="kelas" placeholder="Masukan Kelas..." />
<input type="text" name="alamat" id="alamat" placeholder="Masukan Alamat..." />
Expand All @@ -40,7 +40,7 @@ <h1 class="title">DATA MAHASISWA</h1>
<!-- Bagian Tabel -->
<table id="tabelMahasiswa">
<tr>
<th>NIM</th>
<th>Absen</th>
<th>Nama</th>
<th>Kelas</th>
<th>Alamat</th>
Expand Down