Or sign up with
// EMAIL SIGNUP document.getElementById("signupForm").addEventListener("submit", async (e) => { e.preventDefault(); const email = document.getElementById("email").value; const password = document.getElementById("password").value; const { data, error } = await supabase.auth.signUp({ email, password }); if (error) { alert("Signup failed: " + error.message); } else { window.location.href = "dashboard.html"; } });