First time logging in ?

Sign up using the provided details in the PDF .

<script>
document.addEventListener("DOMContentLoaded", function () {
  const form = document.querySelector("form[data-form-id]");
  const correctCode = 7890; // Replace with your actual numeric tutor code
  const redirectURL = "https://simpletutors.co/tutor-dashboard"; // Replace with your real page

  if (form) {
    form.addEventListener("submit", function (e) {
      e.preventDefault();
      
      const inputs = form.querySelectorAll("input");
      let tutorCode = "";

      inputs.forEach((input) => {
        if (
          input.placeholder &&
          input.placeholder.toLowerCase().includes("tutor")
        ) {
          tutorCode = input.value.trim();
        }
      });

      // Convert to number and check
      if (Number(tutorCode) === correctCode) {
        window.location.href = redirectURL;
      } else {
        alert("Incorrect Tutor Code. Please try again.");
      }
    });
  }
});
</script>