how to show div on button click after page reload code example
Example: refresh page on div click
<div id="refresh" onClick="refreshPage()">refresh
<!-- <button type="button" onClick="refreshPage()">Close</button> -->
</div>
<script>
function refreshPage(){
window.location.reload();
}
</script>