JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html> 
<title>Foo</title>
<i>cake</i>
<i>cake</i>
<i>cake</i>
<i>cake</i>
<i>cake</i>
<script>
(
function(z){Object.defineProperty(NodeList.prototype,z,{set:function(a,b){for(b in this)if(this[b])this[b][z]=a}})}
)("innerHTML");

document.getElementsByTagName('i').innerHTML="pie";

document.getElementsByTagName('i')[1].style.color="red";
</script>