From 43ca8bba1db5b0e5b39cf1e1a46d06418a9e438d Mon Sep 17 00:00:00 2001 From: Ketan_Sharma <146920220+ketan270@users.noreply.github.com> Date: Fri, 19 Apr 2024 19:11:15 +0530 Subject: [PATCH] Update register.html --- register.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/register.html b/register.html index 9989b09..4ec6ffc 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.'); @@ -102,4 +102,4 @@

Register

--> - \ No newline at end of file +