Taco Cat

A palindrome is a word, number, phrase, or other sequence of characters which reads the same backward as forward, such as madam, racecar. There are also numeric palindromes, including date/time stamps using short digits 11/11/11 11:11 and long digits 02/02/2020


Challenge Description

  • Write a program that allows a user to enter in a word or phrase and then prints out the reverse of what was entered. Example: the user enters “developer” the output is “repoleved”.
  • mom, dad, racecar, ufo tofu

Background

The Taco Cat coding challenge is based on the more traditional “Reverse a string” exercise but ultimately determines if a word or phrase is a palindrome. The Reverse a string exercise in some form has been used by technology companies such as Amazon, Microsoft, VMware and Norton to assess a candidate’s ability to code an impromptu algorithm.


Technologies Used

HTML, JavaScript, jQuery, CSS, Bootstrap

Extra Credit

Determine if the word or phrase entered by the user is a palindrome.