Validation for a textarea

Added the validations and a function to check the validation in the inline JavaScript. However, ideally it should not be inline and in a separate .js file. But in the question it says to update the .html file hence added inline script.

Added logic to check Palindrome string, word "Palindrome", empty string, and size of the string.