Skip to content

Commit

Permalink
Bug fixes in login and home page
Browse files Browse the repository at this point in the history
  • Loading branch information
kathirvel13 committed Dec 15, 2024
1 parent f2e5b4c commit 51e30bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body>
<div class="container">
<a href="login.html">
<a href="/login">
<button type="submit" id="login" class="nav-btn">Log In</button>
</a>
</div>
Expand Down
4 changes: 2 additions & 2 deletions login.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<body>
<div class="container">
<h1>Student Login</h1>
<form action="index.html" method="POST">
<form action="/" method="POST">
<div class="form-group">
<label for="email">Email</label>
<input type="email" id="email" name="email" placeholder="Enter your email" required>
Expand All @@ -21,7 +21,7 @@ <h1>Student Login</h1>
<button type="submit" class="submit-btn">Login</button>
</form>
<div class="container">
<p>Don't have an account? <a href="register.html">Register here</a>.</p>
<p>Don't have an account? <a href="/register">Register here</a>.</p>
</div>
</div>
</body>
Expand Down

0 comments on commit 51e30bf

Please sign in to comment.