JSFiddle - React, Tailwind, and code Playground

by Sasank Vemana

HTML

<!DOCTYPE html>
<html>
<script>
  var closeTab = function() {
    self.close();
  }
</script>
<body>

<button onclick="closeTab()">Close this tab</button>


</body>
</html>