-
Notifications
You must be signed in to change notification settings - Fork 0
/
register.html
64 lines (64 loc) · 3 KB
/
register.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Register - Blanja</title>
<link rel="stylesheet" href="./assets/css/bootstrap.css">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script>
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./assets/css/register.css">
</head>
<body>
<div class="form vh-100 vw-100 d-flex flex-column justify-content-center align-items-center">
<div class="header text-center">
<div class="logo">
<img src="./assets/images/logo.svg" alt="">
</div>
<div class="message">
<span>Please sign up with your account</span>
</div>
</div>
<div class="btn-group switch" role="group">
<button type="button"onclick="ubah1()" class="btn btn-primary">Customer</button>
<button type="button" onclick="ubah2()" class="btn btn-light">Seller</button>
</div>
<form class="auth">
<div class="form-group input name">
<input class="w-100" type="name" name="name" placeholder="Name">
</div>
<div class="form-group input email">
<input class="w-100" type="email" name="email" placeholder="Email">
</div>
<div class="form-group input pass">
<input class="w-100" type="password" name="password" placeholder="Password">
</div>
<div class="button">
<button class="btn btn-primary w-100">Register</button>
</div>
</form>
<div>
<span>Already have a Tokopedia account? <a href="login.html">Login</a></span>
</div>
</div>
<script src="./assets/js/bootstrap.bundle.js"></script>
</body>
<script type="text/javascript">
function ubah1 (){
document.getElementById("1").style.backgroundColor = "#ffffff";
document.getElementById("1").style.color = "#9B9B9B";
document.getElementById("2").style.color = "#ffffff";
document.getElementById("2").style.backgroundColor = "#DB3022";
document.getElementById("form2").style.display = "flex";
document.getElementById("form1").style.display = "none";
}
function ubah2 () {
document.getElementById("2").style.backgroundColor = "#ffffff";
document.getElementById("2").style.color = "#9B9B9B";
document.getElementById("1").style.color = "#ffffff";
document.getElementById("1").style.backgroundColor = "#DB3022";
document.getElementById("form1").style.display = "flex";
document.getElementById("form2").style.display = "none";
}
</script>
</html>