JSFiddle - React, Tailwind, and code Playground

by Pralhad Sonar

HTML

<input type='text' name='input' id="searchdevice" class="search-field"  placeholder="" autofocus/>

<div id="explain">
            Search your device in the text field
            </div>

JavaScript

$('#searchdevice').blur(function(){
     $('#explain').css('opacity': 0);
 });