Skip to content

Instantly share code, notes, and snippets.

@victorcfernandes
Last active March 29, 2018 15:03
Show Gist options
  • Save victorcfernandes/a66cf11e018c3d0b44f3cf257b8d5053 to your computer and use it in GitHub Desktop.
Save victorcfernandes/a66cf11e018c3d0b44f3cf257b8d5053 to your computer and use it in GitHub Desktop.
Happy Easter
// ABRA O GOOGLE CHROME, PRESSIONE `CTRL + SHIFT + J`, COLE O CÓDIGO ABAIXO E APERTE ENTER
const name = window.prompt("Qual seu nome?", "Anonymous");
const bunny = `
<h1>CONGRATS, ${name}! YOU ARE A HACKER NOW!</h1>
<h1>Happy Easter!</h1>
<pre style="background:#000; text-align:left; max-width:200px; margin:0 auto;">
&sol; &bsol;
&sol; _ &bsol;
| &sol; &bsol; |
|| || _______
|| || |&bsol; &bsol;
|| || ||&bsol; &bsol;
|| || || &bsol; |
|| || || &bsol;__&sol;
|| || || ||
&bsol;&bsol;_&sol; &bsol;_&sol; &bsol;_&sol;&sol;
&sol; _ _ &bsol;
&sol; &bsol;
| O O |
| &bsol; ___ &sol; |
&sol; &bsol; &bsol;_&sol; &sol; &bsol;
&sol; ----- | --&bsol; &bsol;
| &bsol;__&sol;|&bsol;__&sol; &bsol; |
&bsol; |_|_| &sol;
&bsol;_____ _____&sol;
&bsol; &sol;
| |
</pre>`;
document.body.style.textAlign = "center";
document.body.style.backgroundColor = "black";
document.body.style.color = "#00FF00";
document.body.style.fontFamily = "monospace";
document.body.innerHTML = bunny;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment