For example I entered 'AaAa' in the textBox when I reverse it. It will become this 'aAaA'. How can I make the condition true . I want to ignore even the letters is not in the same format. I do not use string methods.
for(var index = word - 1; index >= 0; index--) {
console.log(reverseString += inputString[index]);
}
if (reverseString === inputString) {
alert(inputString + "are same as " + reverseString + ' is Palindrome');
} else {
alert('Not Palindrome');
}