fear:revisi login
This commit is contained in:
parent
3a17b7239b
commit
c5e5d2f0fc
94
login.html
94
login.html
@ -1,34 +1,72 @@
|
|||||||
<!-- index.html -->
|
<!DOCTYPE html>
|
||||||
<!doctype html>
|
<html lang="id">
|
||||||
<html lang="id">
|
<head>
|
||||||
<head>
|
<meta charset="UTF-8" />
|
||||||
<meta charset="utf-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
<title>Login Page</title>
|
||||||
<title>Halaman Login</title>
|
<link rel="stylesheet" href="style.css" />
|
||||||
<link rel="stylesheet" href="style.css">
|
</head>
|
||||||
</head>
|
<body>
|
||||||
<body>
|
|
||||||
<main class="container" aria-live="polite">
|
|
||||||
<h1>Masuk ke Akun Anda</h1>
|
|
||||||
<p class="lead">Masukkan email dan kata sandi.</p>
|
|
||||||
|
|
||||||
|
<div class="min-h-screen flex items-center justify-center p-4 relative overflow-hidden">
|
||||||
|
|
||||||
<form id="loginForm" novalidate>
|
<!-- Animated Background -->
|
||||||
<div class="form-group">
|
<div class="bg-animated">
|
||||||
<label for="email">Email</label>
|
<div class="bg-circle one"></div>
|
||||||
<input id="email" name="email" type="email" placeholder="name@contoh.com" required>
|
<div class="bg-circle two"></div>
|
||||||
<div class="error" id="emailError"></div>
|
<div class="bg-circle three"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- Login Card -->
|
||||||
|
<div class="login-card">
|
||||||
|
<div class="icon-wrapper">
|
||||||
|
<div class="icon-bg"></div>
|
||||||
|
<div class="icon-circle">
|
||||||
|
<img src="login-icon.png" class="login-icon" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="header-text">
|
||||||
|
<h2>Selamat Datang! ✨</h2>
|
||||||
|
<p>Login untuk bermain Memory Card Game</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form id="loginForm">
|
||||||
|
<label>Username</label>
|
||||||
|
<input type="text" id="username" placeholder="Masukkan username">
|
||||||
|
|
||||||
|
<label>Password</label>
|
||||||
|
<input type="password" id="password" placeholder="Masukkan password">
|
||||||
|
|
||||||
|
<div id="errorBox" class="error"></div>
|
||||||
|
|
||||||
|
<button type="submit" class="btn-login">Login Sekarang</button>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<p class="register-text">
|
||||||
|
Belum punya akun?
|
||||||
|
<a href="register.html">Daftar Sekarang</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<div class="demo-box">
|
||||||
|
<p><strong>🎮 Demo Akun</strong></p>
|
||||||
|
|
||||||
|
<div class="demo-item">
|
||||||
|
<p><strong>Player:</strong></p>
|
||||||
|
<p>Username: <code>player</code></p>
|
||||||
|
<p>Password: <code>player123</code></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group password-row">
|
<div class="demo-item">
|
||||||
<label for="password">Kata sandi</label>
|
<p><strong>Admin:</strong></p>
|
||||||
<input id="password" name="password" type="password" placeholder="Masukkan kata sandi" required minlength="6">
|
<p>Username: <code>admin</code></p>
|
||||||
<button type="button" class="toggle-pass" id="togglePass">Tampilkan</button>
|
<p>Password: <code>admin123</code></p>
|
||||||
<div class="error" id="passError"></div>
|
|
||||||
</div>
|
</div>
|
||||||
<button id="submitBtn" type="submit">Masuk</button>
|
</div>
|
||||||
<div id="result"></div>
|
|
||||||
</form>
|
</div>
|
||||||
</main>
|
</div>
|
||||||
</body>
|
|
||||||
|
<script src="login.js"></script>
|
||||||
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
x
Reference in New Issue
Block a user