JSFiddle - React, Tailwind, and code Playground

by ben1221

HTML

<input type="text" id="nom" >
	<p id="out">Hello</p>
	<script defer>
		

var x=document.getElementById('nom').oninput=Jogs;
function Jogs(){
	var m=document.getElementById('nom').value;
var y=document.getElementById('out');
y.innerHTML=m;
}







</script>