These are chat archives for camperbot/bonfire-check-for-palindromes

25th
Sep 2015
Don Price
@KingHippo
Sep 25 2015 02:31
hint Chunky Monkey'
CamperBot
@camperbot
Sep 25 2015 02:31

hint [1/8]

## :construction: After this are possible spoiler hints.

Make sure you've tried to hard to solve it yourself before proceeding. :construction:

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Don Price
@KingHippo
Sep 25 2015 02:31
hint
CamperBot
@camperbot
Sep 25 2015 02:31

hint [2/8]

# Explanation:

You have to check if the string you get as an input is a palindrome and return true if it is, and false otherwise.

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Don Price
@KingHippo
Sep 25 2015 02:31
uhh
Craig Rufener
@crufener
Sep 25 2015 06:15
bonfire Check for Palindromes
CamperBot
@camperbot
Sep 25 2015 06:15

:fire:Bonfire: Check for Palindromes :link:

function palindrome(str) {
  // Good luck!
  return true;
}



palindrome("eye");

Return true if the given string is a palindrome. Otherwise, return false.

more info:  bf details | bf links | hint

Craig Rufener
@crufener
Sep 25 2015 06:16
hint
CamperBot
@camperbot
Sep 25 2015 06:16

hint [3/8]

Hint: 1

You may use regular expressions (RegExp) to remove unwanted characters from the string.

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Craig Rufener
@crufener
Sep 25 2015 06:17
hint
CamperBot
@camperbot
Sep 25 2015 06:17

hint [4/8]

Hint: 2

You may use Array.prototype.split and Array.prototype.join methods or for loop.

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Craig Rufener
@crufener
Sep 25 2015 06:17
hint
CamperBot
@camperbot
Sep 25 2015 06:17

hint [5/8]

Hint: 3

You may lowercase the string using String.prototype.toLowerCase.

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Craig Rufener
@crufener
Sep 25 2015 06:18
hint
CamperBot
@camperbot
Sep 25 2015 06:18

hint [6/8]

Spoiler Alert!

687474703a2f2f7777772e796f75726472756d2e636f6d2f796f75726472756d2f696d616765732f323030372f31302f31302f7265645f7761726e696e675f7369676e5f322e676966.gif

Solution ahead!

type hint for next hint :pencil: [Contribute at the FCC Wiki]

Chaitra S
@chaitinfin
Sep 25 2015 06:50
@bhaskarcodes split the given "str" string to an array ,access each array element,replace the the first character in the array,later join the array
Chaitra S
@chaitinfin
Sep 25 2015 07:08
@bhaskarcodes before that you can access the array elements to to them to lowercase,then turn them to camel case, let me know if you got it
Abhisek Pattnaik
@abhisekp
Sep 25 2015 07:23
@codehait pls Halt. :P
Chaitra S
@chaitinfin
Sep 25 2015 08:53
@abhisekp Sorry,I did'nt get you
Abhisek Pattnaik
@abhisekp
Sep 25 2015 11:42
@codehait i was just joking :P
@codehait your username is codehait or code hate. So I asked you to halt your hatred towards coding. :P
Chaitra S
@chaitinfin
Sep 25 2015 15:49
@abhisekp it is not code hate ,it is codehait
Abhisek Pattnaik
@abhisekp
Sep 25 2015 17:05
@codehait yeah! I know. What does it mean?
Abhisek Pattnaik
@abhisekp
Sep 25 2015 20:24
@codehait i guess, my joke was a flop one. :( :-1: