https://tutorial.eyehunts.com/js/javascript-check-if-the-string-is-empty-example-code/
JavaScript check if the string is empty | Example code