| document.getElementById("signupForm").addEventListener("submit", function(e) { | |
| e.preventDefault(); | |
| const password = document.getElementById("password").value; | |
| const confirmPassword = document.getElementById("confirmPassword").value; | |
| if (password !== confirmPassword) { | |
| alert("Passwords do not match!"); | |
| return; | |
| } | |
| alert("Account created successfully for Japanese Motors!"); | |
| // Here you can add backend API integration (AJAX/Fetch) | |
| }); | |