After creating an HTML form with text input, utilizing Javascript for validation as shown below:
I am trying to trigger an alert box thanking the user for entering data when the submit button is clicked.
I have faced challenges in implementing this without interfering with the JS validation process.
If anyone has a solution or guidance on how to achieve this, it would be greatly appreciated.
Thank you.