Skip to content

Commit

Permalink
Merge pull request #227 from sriraghavi22/add-email-validation
Browse files Browse the repository at this point in the history
Added email validation
  • Loading branch information
vishanurag authored Oct 6, 2024
2 parents bc15c8d + 5b88b38 commit 002e9cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions login.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
text-align: center;
margin-bottom: 20px;
}
input[type="text"], input[type="password"] {
input[type="email"], input[type="password"] {
width: 100%;
padding: 10px;
margin: 10px 0;
Expand Down Expand Up @@ -128,7 +128,7 @@ <h1 class="display-4">Creative Canvas Tool</h1>
<div class="form-container">
<h2>Log In</h2>
<form action="/login" method="POST">
<input type="text" name="username_email" placeholder="Email or Username" required>
<input type="email" name="username_email" placeholder="Email or Username" required>
<input type="password" name="password" placeholder="Enter Password" required>
<button type="submit">Log In</button>
</form>
Expand Down

0 comments on commit 002e9cb

Please sign in to comment.