ROT13 Cipher

from FreeCodeCamp

Enter a sentence to code or decode it using ROT13 cipher

Does not convert non-letter or accented characters. Converts to uppercase.

Your ROT13 result is…


The project

"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."

I completed this challenge as a way to practice and learn more about JavaScript. You can find the source code on my Github account.
If you have any suggestion regarding accessibility, optimisation, or anything, I would be extremely happy to hear about them on my GitHub account. Don't hesitate to give me a hand so that I become a better web developper !

Check my portfolio on