JSFiddle - React, Tailwind, and code Playground

by vural kaya

HTML

<html lang="en"> 
	 <head> 
			   <title>Index</title>   
	</head>  
	<body>
		 Name: <input type="text" id="myInputBox">  
		 Hello, <span id="nameSpan"></span>   
		 <script>
		 var inputElement = document.getElementById("myInputBox");  
		 inputElement.addEventListener('keyup', function(){  
	     var text = inputElement.value;  nameElement.innerHTML = text;  }); 
	      </script>   
	</body>  
</html>