Skip to content

Commit

Permalink
changed - to .
Browse files Browse the repository at this point in the history
  • Loading branch information
magmalamps committed Apr 2, 2024
1 parent 1c6b937 commit 9fefd8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fortunecookie/fortunecookie.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1>Fortune Cookie Creator</h1>
}
}
}
return encryptedText.join("-");
return encryptedText.join(".");
}


Expand Down
2 changes: 1 addition & 1 deletion fortunecookie/redeemcookie/redeemcookie.html
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ <h1>Redeem your fortune cookie</h1>
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") {
Expand Down

0 comments on commit 9fefd8e

Please sign in to comment.