JavaScript Algorithms and Data Structures Projects - Palindrome Checker

Tell us what’s happening:
Describe your issue in detail here.
how these sentence are palindorme :
A man , A plan, Panama

Your browser information:

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

Challenge: JavaScript Algorithms and Data Structures Projects - Palindrome Checker

Link to the challenge:

“A man, a plan, a canal. Panama”

Try taking out the punctuation and spaces.

AmanaplanacanalPanama

then writing it backwards

amanaPlanacanalpanamA

and adding back the spaces

a man a Plan a canal panamA

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.