JSFiddle - React, Tailwind, and code Playground
by vojtajina
HTML
<div id="test" class="one" class="two">whatever</div>
CSS
.one {color: red;}
.two {background-color: blue;}
JavaScript
console.log(document.body.innerHTML);
console.log(document.getElementById('test').getAttribute('class'));