Question: Design and implement a Web page named pal.html that tests whether a word or phrase is a palindrome. Your page should allow the user to
Design and implement a Web page named pal.html that tests whether a word or phrase is a palindrome. Your page should allow the user to enter a word or phrase and then display a string indicating whether that word or phrase is a palindrome. The code that evaluates the user's input should be case insensitive and should ignore any spaces or punctuation marks within the string. Thus, the following words and phrases would all be considered palindromes:
Bob Able was I ere I saw Elba.
A man; a plan; a canal: Panama!
Step by Step Solution
3.43 Rating (172 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
Document Format (1 attachment)
1409-C-S-O-S(1124).docx
120 KBs Word File
