JSFiddle - React, Tailwind, and code Playground
HTML
<button id="ref_butn">Refresh the page now!</button>
<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);
});
});