JSFiddle - React, Tailwind, and code Playground

by booktu8

HTML

<input type="text">

JavaScript

var oInput = document.querySelector('input')

oInput.onInput = function({
	var value = this.value
	
	console.log(value)
})