JAVASCRIPT PROJECT

Palindrome Checker

Some words and phrases have a little symmetry hidden inside.

Enter a word, phrase, or sentence and discover whether it reads the same forward and backward.

Enter text to check

Spaces, punctuation, and capitalization are ignored.

0 / 250

RESULT

Your result will appear here.

Try one of the examples below or enter your own text.

Try an example

BEHIND THE CODE

How it works

The checker normalizes the text before comparing it with its reversed form.

01

Normalize

JavaScript converts the text to lowercase and removes spaces, punctuation, and special characters.

02

Reverse

The cleaned text is split into characters, reversed, and joined back together.

03

Compare

The original normalized text is compared with the reversed version to determine the result.

PROJECT HIGHLIGHTS

Small application. Practical JavaScript.