Skip to content

Commit

Permalink
Merge pull request #23 from ketan270/master
Browse files Browse the repository at this point in the history
Update register.html
  • Loading branch information
ketan270 authored Apr 19, 2024
2 parents ab5f1f7 + 43ca8bb commit 420e47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion register.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ <h4 class="card-title">Register</h4>
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.');
Expand Down

0 comments on commit 420e47f

Please sign in to comment.