This is a web application built using HTML, CSS, and JavaScript that can check whether a given string or number is a palindrome or not. It also handles complex strings by removing special characters before checking for palindromes.
- Checks whether a given string or number is a palindrome
- Handles complex strings by removing special characters
- Works with both strings and numbers
- Enter a string or number in the input field.
- Click the "Check" button.
- The application will display whether the input is a palindrome or not.
Input: "racecar" Output: "The input is a palindrome."
Input: 12321 Output: "The input is a palindrome."
Input: "A man, a plan, a canal, Panama!" Output: "The input is a palindrome."
Here are some additional test cases to verify the functionality of the application:
-
Input: "hello" Output: "hello is not a Palindrome."
-
Input: 12345 Output: "12345 is not a Palindrome."
-
Input: "Able was I saw Elba" Output: "Able was I saw Elba is a Palindrome."
-
Input: "123!@#321" Output: "123!@#321 is a Palindrome."
Feel free to add more test cases to ensure the accuracy of the palindrome checker.
This project is licensed under the MIT License.
The MIT License is a permissive open-source license that allows you to use, modify, and distribute the software for both commercial and non-commercial purposes. It provides you with the freedom to adapt the software to your needs and includes a disclaimer of warranty.