JSFiddle - React, Tailwind, and code Playground
by ben1221
HTML
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<input type="text" id="nom" >
<p id="out">Hello</p>
<script defer>
var x=document.getElementById('nom').value.oninput=function (){
var y=document.getElementById('out');
y.innerHTML=x;
}
</script>
</body>
</html>