JSFiddle - React, Tailwind, and code Playground
by farhatdz
HTML
<p>Click the button to wait 3 seconds, then alert "Hello".</p>
<div id="proceed"> <p>fffffff</p></div>
<button onclick="myFunction()">Try it</button>
JavaScript
var myVar;
function myFunction() {
myVar = setTimeout(alertFunc, 3000);
}
function alertFunc() {
alert("Hello!");
jQuery("#proceed").show();
}