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