Add more formatting & emphasize palindrome details

- Put `true` and `false` in code tags
- Put `palindrome` in definition tags
- Add "Note" to further emphasize you'll need to remove all non-alphanumeric
  characters
- Put various forms of "race car" in code tags
This commit is contained in:
Eric Leung
2016-02-12 00:07:45 -08:00
parent fd09d79df2
commit f117f07a71

View File

@ -154,10 +154,10 @@
"id": "aaa48de84e1ecc7c742e1124", "id": "aaa48de84e1ecc7c742e1124",
"title": "Check for Palindromes", "title": "Check for Palindromes",
"description": [ "description": [
"Return true if the given string is a palindrome. Otherwise, return false.", "Return <code>true</code> if the given string is a palindrome. Otherwise, return <code>false</code>.",
"A palindrome is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.", "A <dfn>palindrome</dfn> is a word or sentence that's spelled the same way both forward and backward, ignoring punctuation, case, and spacing.",
"You'll need to remove all non-alphanumeric characters (punctuation, spaces and symbols) and turn everything lower case in order to check for palindromes.", "<strong>Note</strong><br>You'll need to remove <strong>all non-alphanumeric characters</strong> (punctuation, spaces and symbols) and turn everything lower case in order to check for palindromes.",
"We'll pass strings with varying formats, such as \"racecar\", \"RaceCar\", and \"race CAR\" among others.", "We'll pass strings with varying formats, such as <code>\"racecar\"</code>, <code>\"RaceCar\"</code>, and <code>\"race CAR\"</code> among others.",
"Remember to use <a href=\"//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck\" target=\"_blank\">Read-Search-Ask</a> if you get stuck. Write your own code." "Remember to use <a href=\"//github.com/FreeCodeCamp/freecodecamp/wiki/How-to-get-help-when-you-get-stuck\" target=\"_blank\">Read-Search-Ask</a> if you get stuck. Write your own code."
], ],
"challengeSeed": [ "challengeSeed": [