diff --git a/seed/challenges/01-front-end-development-certification/basic-bonfires.json b/seed/challenges/01-front-end-development-certification/basic-bonfires.json index 08e66bacb6..d9948eb5af 100644 --- a/seed/challenges/01-front-end-development-certification/basic-bonfires.json +++ b/seed/challenges/01-front-end-development-certification/basic-bonfires.json @@ -815,20 +815,19 @@ "description": [ "One of the simplest and most widely known ciphers is a Caesar cipher, also known as a shift cipher. In a shift cipher the meanings of the letters are shifted by some set amount.", "A common modern use is the ROT13 cipher, where the values of the letters are shifted by 13 places. Thus 'A' ↔ 'N', 'B' ↔ 'O' and so on.", - "Write a function which takes a ROT13 encoded string as input and returns a decoded string. All letters will be uppercase. Do not transform any non-alphabetic character (i.e. spaces, punctuation), but do pass them on.", - "The provided code transforms the input into an array for you, codeArr. Place the decoded values into the decodedArr array where the provided code will transform it back into a string." + "Write a function which takes a ROT13 encoded string as input and returns a decoded string.", + "All letters will be uppercase. Do not transform any non-alphabetic character (i.e. spaces, punctuation), but do pass them on.", + "Remember to use Read-Search-Ask if you get stuck. Try to pair program. Write your own code." + ], + "MDNlinks": [ + "String.charCodeAt()", + "String.fromCharCode()" ], "releasedOn": "January 1, 2016", "challengeSeed": [ - "function rot13(encodedStr) {", - " var codeArr = encodedStr.split(\"\"); // String to Array", - " var decodedArr = []; // Your Result goes here", - " // Only change code below this line", - " ", - " ", - " ", - " // Only change code above this line", - " return decodedArr.join(\"\"); // Array to String", + "function rot13(str) { // LBH QVQ VG!", + " ", + " return str;", "}", "", "// Change the inputs below to test",