Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confirm Password Added #110

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 11 additions & 7 deletions register.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ background-color: var(--body-bg);
}

.theme-converter{
margin-left: 83%;
margin-top: -2%;
margin-bottom: 1%;
margin-left: 87%;
margin-top: 0%;
margin-bottom: 0%;
background-color: var(--body-bg);
color: var(--body-bg) ;
}
Expand Down Expand Up @@ -126,20 +126,21 @@ animation: slideInRight 1s ease-in-out;
}

.right-section h1 {
margin-top: 28px;
font-size: 28px;
margin-bottom: 10px;
margin-bottom: 3px;
color: var(--section-color);
}

.subtitle {
font-size: 16px;
color: var(--subtitle-color);
/* color: #666; */
margin-bottom: 20px;
margin-bottom: 3px;
}

.signup-form .input-group {
margin-bottom: 20px;
margin-bottom: 11px;
}

.signup-form .input-group label {
Expand All @@ -152,7 +153,7 @@ color: var(--label-color);

.signup-form .input-group input {
width: 100%;
padding: 12px;
padding: 10px;
border: 1px solid #ddd;
border-radius: 8px;
transition: all 0.3s;
Expand Down Expand Up @@ -187,6 +188,9 @@ text-align: center;
color: var(--login-link-color);
}

.social-login {
margin-top: 5px;
}
.login-link a {
color: #ff5733;
text-decoration: none;
Expand Down
16 changes: 12 additions & 4 deletions register.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,32 +118,40 @@ <h2>Ajivika</h2>
<div class="right-section">
<h1>Create an Account</h1>
<p class="subtitle">Sign up to explore more!</p>
<form id="signup-form" class="signup-form">
<form id="signupForm" method="post" action="/signup" class="signup-form">
<div id="errorelem" class="error-message"></div>
<div class="input-group">
<label for="email">
<i class="fas fa-envelope"></i>
Email
</label>
<input type="email" id="email" placeholder="Enter your email" required>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
<div id="errorelemEmail" class="error-message"></div>
</div>
<div class="input-group">
<label for="username">
<i class="fas fa-user"></i>
Username
</label>
<input type="text" id="username" placeholder="Choose a username" required>
<input type="text" id="username" name="username" placeholder="Choose a username" required>
<div id="errorelemUsername" class="error-message"></div>
</div>
<div class="input-group">
<label for="password">
<i class="fas fa-lock"></i>
Password
</label>
<input type="password" id="password" placeholder="Enter your password" required>
<input type="password" id="password" name="password" placeholder="Enter your password" required>
<div id="errorelemPass" class="error-message"></div>
</div>
<div class="input-group">
<label for="confirmPassword">
<i class="fas fa-lock"></i>
Confirm Password
</label>
<input type="password" id="confirmPassword" name="confirmPassword" placeholder="Confirm your password" required>
<div id="errorelemConfirmPass" class="error-message"></div>
</div>
<button type="submit" class="signup-btn">Sign Up</button>
<p class="login-link">
Already have an account? <a href="login.html" id="login-link">Log in here</a>
Expand Down
Loading