Updated registration screen added

This commit is contained in:
Lucas Patenaude
2024-04-24 01:11:21 -06:00
parent 7888155e2a
commit 009a81dbc1
9 changed files with 50 additions and 44 deletions

View File

@@ -5,6 +5,13 @@ $(document).ready(function() {
// Toggle the visibility of the login container
$('#login-container').toggle();
});
$('#register-page-login-button').click(function() {
event.preventDefault(); // Prevent the default action of following the link
$('#register-container').hide();
$('#login-container').toggle();
});
});

View File

@@ -0,0 +1,12 @@
$(document).ready(function () {
// Listen for click event on the register button
$('#register-button').click(function (event) {
event.preventDefault(); // Prevent the default action of following the link
$('#login-container').hide();
// Show the register container
$('#register-container').show();
});
});