In HTML showing modal part despite invalid input
Here if I click the button, it will do its work and show a congratulations modal and in case of invalid input, it should return a alert msg only and should not show the modal. But in my case, even in the case of invalid input, the modal is showing after clicking the btn
In HTML showing modal part despite invalid input
Here if I click the button, it will do its work and show a congratulations modal and in case of invalid input, it should return a alert msg only and should not show the modal. But in my case, even in the case of invalid input, the modal is showing after clicking the btn