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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (1 attachment)

Word file Icon

1409-C-S-O-S(1124).docx

120 KBs Word File

Students Have Also Explored These Related Operating System Questions!