JSFiddle - React, Tailwind, and code Playground

by techiedelight

HTML

<!doctype html>
<html lang="en">
<body>
  <div id="container"></div>
</body>
</html>

CSS

.btn-styled {
  font-size: 14px;
  margin: 8px;
  padding: 0 10px;
  line-height: 2;
}

JavaScript

$(document).ready(function() {
  $('<button class="btn-styled" type="button">Press me</button>').appendTo('#container');
});