js have a button refresh page code example
Example 1: refresh button html
<button onClick="window.location.reload();">Refresh Page</button>
Example 2: refresh button html
<button onClick="window.location.href=window.location.href">Refresh Page</button>