Leetcode Check Palindrome Using Javascript In Html