-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
42 lines (39 loc) · 1.68 KB
/
index.php
File metadata and controls
42 lines (39 loc) · 1.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>C2C Marketplace Login</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="form-box active" id="login-form">
<form action="">
<h2>Login</h2>
<input type="email" name="email" placeholder="Email" required>
<input type="password" name="password" placeholder="Password" required>
<button type="submit" name="Login">login</button>
<p>Dont have an account? <a href="#" onclick="showForm('register-form')">Register</a></p>
</form>
</div>
<div class="container">
<div class="form-box" id="register-form">
<form action="">
<h2>Register</h2>
<input type="text" name="name" placeholder="name" required>
<input type="email" name="email" placeholder="Email" required>
<input type="password" name="password" placeholder="Password" required>
<select name="role" required>
<option value="">--Select Role--</option>
<option value="Buyer">Buyer</option>
<option vakue="Seller">Seller</option>
</select>
<button type="submit" name="register">Register</button>
<p>Already have an account? <a href="#" onclick="showForm('login-form')">Login</a></p>
</form>
</div>
</div>
<script src="script.js"></script>
</body>
</html>