JSFiddle - React, Tailwind, and code Playground

by Matt Ball

HTML

<input id="foo"/>
<input id="bar"/>

JavaScript

// open le console

console.log(document.getElementById('foo').type);
console.log(document.getElementById('bar').type);