JSFiddle - React, Tailwind, and code Playground

HTML

<html>
    <body>
        <h1>Hello World</h1>
    </body>
</html>

JavaScript

$(document).ready(function() {
    $('<style type="text/css" media="screen">')
        .text('h1 {color:blue}')
        .appendTo('head');
});