JSFiddle - React, Tailwind, and code Playground

by mrtsherman

HTML

<div id="foo">hi</div>

CSS

#foo {
    background-color: red;
    color: white;
}

JavaScript

var style = document.getElementById('foo').style;
style.backgroundColor = 'blue'
debugger;