JSFiddle - React, Tailwind, and code Playground

by henser

HTML

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

JavaScript

document.getElementById('input1').focus();