JSFiddle - React, Tailwind, and code Playground
by johnmu
HTML
<div id=content>nothing here
</div>
<ul id=mylist></ul>
JavaScript
document.getElementById("content").innerHTML = "oh look over here";
var wordlist = "Endowment unproportionate proceed nucleoplasm chicken nanocurie progestin overidealized sedgemoor trifle ebullioscopy banana ate heredia tongman unconfounding the cleveite throbbing phosphorated portraitlike macbeth uniformised perlite The Monopoloid depolarizer epigraphist".split(" ");
for (var i=1; i<=10; i++) {
var item = wordlist[Math.floor(Math.random()*wordlist.length)];
var text = "The item nr. " + i + " is " + item;
var el = document.createElement("li");
el.appendChild(document.createTextNode(text));
document.getElementById("mylist").appendChild(el);
}