how does a refresh button works web development 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>