diff --git a/register.html b/register.html index 189bf1c..0d67133 100644 --- a/register.html +++ b/register.html @@ -91,7 +91,7 @@

Register

body: JSON.stringify(userData) }); const data = await response.json(); - alert(data.message); // Show a success message or handle errors + alert(data.message); } catch (error) { console.error('Error:', error); alert('An error occurred. Please try again.');