We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e454c6 commit cb5ba3eCopy full SHA for cb5ba3e
1 file changed
login.js
@@ -0,0 +1,11 @@
1
+function handleRegister(event) {
2
+ event.preventDefault();
3
+ alert("Registration Successful! Redirecting to Login...");
4
+ window.location.href = "login.html";
5
+}
6
+
7
+function handleLogin(event) {
8
9
+ alert("Login Successful! Redirecting to Dashboard...");
10
+ window.location.href = "main.html";
11
0 commit comments