JSFiddle - React, Tailwind, and code Playground

by Kalu Singh Rao

HTML

<button id="ref_butn">Refresh the page now!</button>&nbsp;
<button id="ref_in_five"> Wait 5 seconds, then refresh!</button>

JavaScript

$(document).ready(function(){
  $("#ref_butn").click(function(){
 location.reload();
    });
  $("#ref_in_five").click(function(){setTimeout(function() {
 location.reload()
  },90000);
    });
});