JSFiddle - React, Tailwind, and code Playground

by Paul West

HTML

<script src="https://threejs.org/examples/js/libs/dat.gui.min.js"></script>

<div id="container">

</div>

CSS

#container {
  position: absolute;
  top: 50px;
  left: 100px;
  width: 400px;
  height: 300px;
  background-color: red;
}

JavaScript

var gui = new dat.GUI();

container.appendChild(gui.domElement);