-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsignup.html
More file actions
113 lines (113 loc) · 3.53 KB
/
signup.html
File metadata and controls
113 lines (113 loc) · 3.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Sign Up - The Shoe Closet</title>
<link rel="stylesheet" href="styles.css">
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: #f7f7f7;
}
nav {
background-color: #333;
color: #fff;
padding: 10px 20px; /* Reduced padding */
display: flex;
justify-content: space-between;
align-items: center;
}
nav a {
color: #fff;
margin: 0 10px; /* Reduced margin */
text-decoration: none;
padding: 8px 15px; /* Adjusted padding */
border-radius: 5px;
transition: background-color 0.3s;
}
nav a:hover, nav a.active {
background-color: #555;
}
.logo {
font-size: 24px;
font-weight: bold;
display: flex;
align-items: center;
}
.logo img {
height: 40px;
margin-right: 10px;
}
.container {
padding: 50px;
display: flex;
justify-content: center;
align-items: center;
height: calc(100vh - 60px);
}
.signup-form {
max-width: 300px;
width: 100%;
padding: 20px;
border: 1px solid #ddd;
border-radius: 10px;
background-color: #f9f9f9;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.signup-form h2 {
margin-bottom: 20px;
}
.signup-form input[type="text"], .signup-form input[type="password"], .signup-form input[type="email"] {
width: 100%;
padding: 10px;
margin: 10px 0;
border: 1px solid #ddd;
border-radius: 5px;
}
.signup-form input[type="submit"] {
width: 100%;
padding: 10px;
background-color: #333;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.signup-form input[type="submit"]:hover {
background-color: #555;
}
</style>
</head>
<body>
<nav>
<div class="logo"><img src="logo.png" alt="Logo"> The Shoe Closet</div>
<a href="index.html">Home</a>
<a href="about.html">About Us</a>
<a href="login.html">Login</a>
<a href="signup.html" class="active">Sign Up</a>
</nav>
<div class="container">
<div class="signup-form">
<h2>Sign Up</h2>
<form action="#">
<input type="text" placeholder="Username" required>
<input type="email" placeholder="Email" required>
<input type="password" placeholder="Password" required>
<input type="submit" value="Sign Up">
</form>
</div>
</div>
<script>
document.querySelectorAll('nav a').forEach(link => {
link.addEventListener('click', function() {
document.querySelectorAll('nav a').forEach(link => link.classList.remove('active'));
this.classList.add('active');
});
});
</script>
</body>
</html>