Edit This Code:
<!DOCTYPE html>
<html>
<body>

<button onclick="myFunction()">Reload page</button>

<script>
function myFunction() {
    location.reload();
}
</script>

</body>
</html>


Result:
Try it Yourself - © w3schools.com
Privacy Policy