Skip to content

Commit

Permalink
Update register.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ketan270 authored Apr 19, 2024
1 parent c5e519d commit 43ca8bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions register.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h4 class="card-title">Register</h4>
body: JSON.stringify(userData)
});
const data = await response.json();
alert(data.message); // Show a success message or handle errors
alert(data.message);
} catch (error) {
console.error('Error:', error);
alert('An error occurred. Please try again.');
Expand All @@ -102,4 +102,4 @@ <h4 class="card-title">Register</h4>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> -->
<script src="js/my-login.js"></script>
</body>
</html>
</html>

0 comments on commit 43ca8bb

Please sign in to comment.