JSFiddle - React, Tailwind, and code Playground
by blankasaurus
HTML
<a id="test" href=""><div id="yigef" style="font-family:monospace;"></div></a>
JavaScript
function f() {var a = 'Scurvy Dog!<br/>' + b[e % 2].replace(" ", " ") + b[e % 2 + 2].replace(" ", " ");var f = c.replace(" ", " ") + " " + c.replace(" ", " ");var g = d.replace(" ", " ") + " " + d.replace(" ", " ");var h = a + "<br/>" + f + "<br/>" + g; document.getElementById("yigef").innerHTML = h; e++}var a = new Array;var b = new Array;var c = " | "; var d = " / \\ "; b[0] = " _O_/"; b[2] = " __O_ "; b[1] = " _O__"; b[3] = " \\_O_ "; a[0] = " / \\ "; a[2] = " / \\ "; a[1] = " /| "; a[3] = " | \\ ";var e = 0; setInterval(f, 100);
document.getElementById("yigef").parentNode.style.textDecoration="none";