-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (55 loc) · 2.02 KB
/
index.html
File metadata and controls
55 lines (55 loc) · 2.02 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
http-equiv="X-UA-Compatible"
content="IE=edge"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<link
rel="icon"
href="img/alarm.png"
type="image/x-icon"
/>
<title>Amat</title>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="style/styles.css"
/>
</head>
<body style="display: flex; align-items: center; justify-content: center">
<div class="login-page">
<div class="form">
<form class="register-form" action="register.php" method="POST">
<h2><i class="fas fa-lock"></i> Register</h2>
<input type="text" name="fullname" placeholder="Full Name *"required/>
<input type="text" name="username" placeholder="Username *" required/>
<input type="email" name="email" placeholder="Email *"required/>
<input type="password" name="password" placeholder="Password *" required/>
<button type="submit" name="register">create</button>
<p class="message">Already registered? <a href="#">Sign In</a></p>
</form>
<form class="login-form" action="login.php" method="POST">
<h2><i class="fas fa-lock"></i> Login</h2>
<input type="text" name="username" placeholder="Username"required />
<input type="password" name="password" placeholder="Password" required/>
<button type="submit" name="login">login</button>
<p class="message">Not registered? <a href="#">Create an account</a></p>
</form>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>