JSFiddle - React, Tailwind, and code Playground

by SHELDON PASCIAK

JavaScript

let a =",OIYIMM'TE  ORRAMFME  Y F UNCO IA UTEEF!CGO";

a="Congratulations, you did it! From now on, every day."
a="Congratulations! You've made it, if memory serves correctly.";
a="IF I'M Elected PRESIDENT, WE WILL MAKE AMERICA GREAT AGAIN!";
a="FORMER PRESIDENT BARACK OBAMA, I'M COMING FOR YOU!";
a=a.toUpperCase();

let b ="IF YOU COME AFTER ME, I'M COMING AFTER YOU!";

for (var i=0;i<b.length;i++){
c=b[i];
a=a.replace(c,'-')
}

console.log(a);