JSFiddle - React, Tailwind, and code Playground

HTML

<!DOCTYPE html>
<html>
<body>
  <script>
	function test() {
	  console.log("Test Log Output");
	}
  </script>
  <button type="button" onclick="test()">Test</button>
</body>
</html>