Palindrome Checker, please help

Tell us what’s happening:

I don’t understand what I should do here https://www.freecodecamp.org/learn/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/palindrome-checker

Your code so far
No code yet


function palindrome(str) {
return true;
}



palindrome("eye");

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.138 Safari/537.36.

Challenge: Palindrome Checker

Link to the challenge:

You need to write a function that checks if a word or sentence is the same spelled backward as it is spelled forward.