-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.html
More file actions
119 lines (107 loc) · 2.92 KB
/
signup.html
File metadata and controls
119 lines (107 loc) · 2.92 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Register</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body, html {
height: 100%;
background-color: black;
display: flex;
justify-content: center;
align-items: center;
}
.register-box {
width: 400px;
background: #833ab4;
padding: 30px;
border-radius: 10px;
color: white;
box-shadow: 0 0 15px rgba(0,0,0,0.5);
text-align: center;
}
.register-box h2 {
margin-bottom: 25px;
}
.input-box {
position: relative;
margin-bottom: 20px;
}
.input-box input {
width: 100%;
padding: 12px 35px 12px 15px;
border-radius: 30px;
border: none;
outline: none;
font-size: 15px;
}
.input-box .icon {
position: absolute;
right: 15px;
top: 12px;
color: #333;
}
.register-btn, .home-btn {
width: 100%;
padding: 12px;
border: none;
border-radius: 30px;
background: white;
color: #333;
font-weight: bold;
font-size: 16px;
cursor: pointer;
transition: 0.3s ease;
margin-top: 10px;
}
.register-btn:hover,
.home-btn:hover {
background: #ddd;
}
.login-link {
margin-top: 15px;
font-size: 14px;
}
.login-link a {
color: white;
font-weight: bold;
text-decoration: none;
}
</style>
</head>
<body>
<div class="register-box">
<h2>Register</h2>
<form action="register.php" method="POST">
<div class="input-box">
<input type="text" name="fullname" placeholder="Full Name" required />
<i class="fas fa-user icon"></i>
</div>
<div class="input-box">
<input type="email" name="email" placeholder="Email" required />
<i class="fas fa-envelope icon"></i>
</div>
<div class="input-box">
<input type="text" name="username" placeholder="Username" required />
<i class="fas fa-user-circle icon"></i>
</div>
<div class="input-box">
<input type="password" name="password" placeholder="Password" required />
<i class="fas fa-lock icon"></i>
</div>
<button type="submit" class="register-btn">Sign Up</button>
<p class="login-link">Already have an account? <a href="ulogin.html">Login</a></p>
</form>
<!-- Redirect to home -->
<button class="home-btn" onclick="window.location.href='index.html'">Go to Home Page</button>
</div>
</body>
</html>