JSFiddle - React, Tailwind, and code Playground

by Juan Marco

HTML

<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="utf-8">
  <title></title>
  <style>
    body {
      font-family: sans-serif;
    }
  </style>
</head>

<body>
  
  <input type="text" onchange="handleInputChange()" placeholder="Type something">
  <script>
		function handleInputChange(e) {
    	console.log('fired', e)
    }
  </script>
</body>

</html>