html approach reload webpage code example
Example 1: refresh button html
<button onClick="window.location.reload();">Refresh Page</button>
Example 2: how to reload the same page using javascript
BY LOVE
window.location.reload();
<button onClick="window.location.reload();">Refresh Page</button>
BY LOVE
window.location.reload();