Question: Use JavaScript in an html file to perform the following: Prompt the user for five string values that must be stored in an array. Display
Use JavaScript in an html file to perform the following: Prompt the user for five string values that must be stored in an array. Display a table of array elements. Include another column stating whether the string in the previous column is a palindrome or not (use a case-insensitive comparison).
Example:
| String | Palindrome? |
|---|---|
| help | NO |
| Peep | YES |
| pulp | NO |
| toT | YES |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
