JSFiddle - React, Tailwind, and code Playground

HTML

<body style="background-color: yellow">

<button onclick="myFunction()">Try it</button>

<p id="Some text"></p>

<script>
function myFunction() {
    var x = document.getElementsByTagName("BODY")[0];
    x.removeAttribute("style");
}
</script>

</body>