JSFiddle - React, Tailwind, and code Playground
by Neal
HTML
<div id='foo'>THIS IS A TEST</div>
JavaScript
var array_ofcolors = ['red', 'blue','orange']
var array_offonts = ["Helvetica", "Arial", "Comic Sans", "Tahoma"]
var obj = document.getElementById('foo');
obj.style.color =
array_ofcolors[Math.floor(Math.random()*array_ofcolors.length)]
obj.style.fontFamily =
array_offonts[Math.floor(Math.random()*array_offonts.length)]