JSFiddle - React, Tailwind, and code Playground

HTML

<input type="text" id="im1" >

JavaScript

document.body.appendChild(
    document.createTextNode("input is "
      + window.getComputedStyle(document.getElementById("im1")).display
      + " by default"));