-
Notifications
You must be signed in to change notification settings - Fork 0
/
login.html
38 lines (37 loc) · 1.47 KB
/
login.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Login/Signup Form</title>
<link rel="stylesheet" href="login.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&family=Pacifico&display=swap" rel="stylesheet">
</head>
<body>
<div class="header">
<h1>Welcome to Penny Pilot</h1>
</div>
<div class="form-container">
<div class="form-toggle">
<button id="loginToggle" class="active">Login</button>
<button id="signupToggle">Signup</button>
</div>
<form id="loginForm" class="form">
<h2>Login Form</h2>
<input type="email" id="loginEmail" placeholder="Email Address" required>
<input type="password" id="loginPassword" placeholder="Password" required>
<a href="#" id="forgotPassword">Forgot password?</a>
<button type="submit">Login</button>
<p>Not a member? <a href="#" id="showSignup">Signup now</a></p>
</form>
<form id="signupForm" class="form hidden">
<h2>Signup Form</h2>
<input type="email" id="signupEmail" placeholder="Email Address" required>
<input type="password" id="signupPassword" placeholder="Password" required>
<button type="submit">Signup</button>
<p>Already a member? <a href="#" id="showLogin">Login now</a></p>
</form>
</div>
<script src="login.js"></script>
</body>
</html>