You are not passing a lot of the tests. It would probably help if you asked a question or told us where you are stuck so we know how to help you.
else if(textValue === "eye"){
resultElement.innerText = "eye is a palindrome";
}
I can tell you that this approach is not going to work. You would have to write an else if statement for every possible string that could be passed into your function, which would make your code very very long
Don’t write your function to only handle the strings used in the tests. Pretend you don’t know what strings are going to be tested.
I don’t want to spoil a great opportunity for you to learn, but I will still try to point you in the right direction without giving too much away
A palindrome is a word, number, phrase, or other sequence of symbols that reads the same backwards as forwards.
This means that you should probably consider comparing your input to a reversed version of itself. I recommend looking up how to reverse a string.
I would also consider how your algorithm will handle special characters. For instance, look at test case 10:
A man, a plan, a canal. Panama
If you haven’t already, I highly recommend learning about regular expressions.
You can also use a resource called regex101 to help you learn how to build them.