I want to show a window alert if the input data is not filled in. However, the if-else statement in js file is not working. I guess it\'s because of \'preventDefault()\', bu