JSFiddle - React, Tailwind, and code Playground

HTML

<html>
  <style>script {display: block; font-family: monospace; }</style>
  <body>
    <div id="log"></div>
    <script>
      document.getElementById("log").textContent = "This page displays the script that controls it";
      </script>