Skip to content

Commit

Permalink
Placeholder added
Browse files Browse the repository at this point in the history
issue resolved: #368
  • Loading branch information
Kajalmehta29 committed Oct 15, 2024
1 parent 09cc963 commit 6d450f3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
3 changes: 3 additions & 0 deletions SignUp/signup.css
Original file line number Diff line number Diff line change
Expand Up @@ -346,3 +346,6 @@ a {
.links a:hover {
text-decoration: underline;
}
::placeholder {
color: white;
}
10 changes: 5 additions & 5 deletions SignUp/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ <h1>Create Your Account</h1>
<form action="#" method="post">
<div class="input-group">
<label for="username">Username</label>
<input type="text" id="username" name="username" required>
<input type="text" id="username" name="username" placeholder="Create a Username" required>
</div>
<div class="input-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" required>
<input type="email" id="email" name="email" placeholder="Enter your mail-id" required>
</div>
<div class="input-group">
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
<input type="password" id="password" name="password" placeholder="Create password" required>
</div>

<!-- Password Recommendations Section -->
Expand All @@ -45,11 +45,11 @@ <h1>Create Your Account</h1>
<p id="lowercase" class="condition">Contains lowercase letters</p>
<p id="number" class="condition">Contains numbers</p>
<p id="special" class="condition">Contains special characters</p>
</div>


<div class="input-group">
<label for="confirm-password">Confirm Password</label>
<input type="password" id="confirm-password" name="confirm-password" required>
<input type="password" id="confirm-password" name="confirm-password" placeholder="Re-enter password" required>
</div>
<button type="submit" class="signup-button">Sign Up</button>
</form>
Expand Down
4 changes: 3 additions & 1 deletion login/login.css
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,8 @@ a {
}
}


::placeholder {
color: white;
}


4 changes: 2 additions & 2 deletions login/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ <h1>Login to Your Account</h1>
<form action="#" method="post">
<div class="input-group">
<label for="username">Gmail</label>
<input type="text" id="gmail" name="username" required>
<input type="text" id="gmail" name="username" placeholder="Enter you mail-id" required>
</div>
<div class="input-group password-container">
<label for="password">Password</label>
<input type="password" id="password" name="password" required>
<input type="password" id="password" name="password" placeholder="Enter your passsword" required>
<img src="https://i.postimg.cc/vBSg320Y/eye.png" alt="Toggle Password" class="toggle-password" id="toggle-password">
</div>
<div ontouchstart="">
Expand Down

0 comments on commit 6d450f3

Please sign in to comment.