Skip to content
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
1 change: 1 addition & 0 deletions FarrelCaesarian/day2/Registration
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ini hapus aja

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

66 changes: 66 additions & 0 deletions FarrelCaesarian/day2/registration.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Register</title>
<link rel="stylesheet" href="style2.css">
</head>

<body>
<div class="box">
<h1 class="title">Registration</h1>

<form action="">
<div class="container">
<div class="div1">
<label for="fullname">Full Name</label>
<br>
<input type="text" name="fname" id="fname" placeholder="Enter your name">
<br><br>
<label for="email">Email</label>
<br>
<input type="email" placeholder="Enter your email">
<br><br>
<label for="pass">Password</label>
<br>
<input type="password" placeholder="Enter your password">
</div>

<div class="div2">
<label for="uname">Username</label>
<br>
<input type="text" placeholder="Enter your username">
<br><br>
<label for="phonenumber">Phone Number</label>
<br>
<input type="number" placeholder="Enter your number">
<br><br>
<label for="confirm">Confirm Password</label>
<br>
<input type="password" placeholder="Confirm your password">
</div>
</div>
<div class="main">
<label for="gender">Gender</label>
<br>
<input type="radio" name="gender1" value="Male">
<label for="gender1">Male</label>
<input type="radio" name="gender2" value="Female">
<label for="gender2">Female</label>
<input type="radio" name="gender3" value="Prefer not to say">
<label for="gender3">Prefer not to say</label>
<input type="radio" name="gender4" value="Walmart Bag">
<label for="gender4">Walmart Bag</label>
<div class="button">
<button class="tombol">Register</button>
</div>
</div>


</form>
</div>
</body>

</html>
39 changes: 39 additions & 0 deletions FarrelCaesarian/day2/style2.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
body {
height: 100vh;
background: linear-gradient(to bottom right, rgb(122, 124, 248), rgb(152, 243, 246));
display: flex;
justify-content: center;
align-items: center;
}
.title{
font-family: Verdana, Geneva, Tahoma, sans-serif;
font-size: 25px;
margin-left: 17px;
margin-top: 8px ;
}

.container {
display: flex;
}

.container div {
margin: 0 20px;
}

.main {
margin: 10px 20px;
}

.box {
padding: 10px 10px; background-color: white;
margin: 20px 20px;
width: 33%;
height: 50%;
}
.tombol {
color: white;
font-weight: bold;
padding: 5px 165px; background: radial-gradient(circle at top left, rgb(122, 223, 248), rgb(185, 152, 246));
margin: 10px 0;
border-style: none;
}