diff --git a/fortunecookie/fortunecookie.html b/fortunecookie/fortunecookie.html index 11da5fd..96af6c4 100644 --- a/fortunecookie/fortunecookie.html +++ b/fortunecookie/fortunecookie.html @@ -45,7 +45,7 @@

Fortune Cookie Creator

} } } - return encryptedText.join("-"); + return encryptedText.join("."); } diff --git a/fortunecookie/redeemcookie/redeemcookie.html b/fortunecookie/redeemcookie/redeemcookie.html index 6175895..7e200c0 100644 --- a/fortunecookie/redeemcookie/redeemcookie.html +++ b/fortunecookie/redeemcookie/redeemcookie.html @@ -46,7 +46,7 @@

Redeem your fortune cookie

function decrypt(text) { let decryptedText = ""; - let chunks = text.split("-"); + let chunks = text.split("."); for (let i = 0; i < chunks.length; i++) { let chunk = chunks[i]; if (chunk === "0") {