quit_quiz.onclick = ()=>{ window.location.reload() code example
Example 1: refresh window js
window.location.reload();
Example 2: refresh button html
<button onClick="window.location.reload();">Refresh Page</button>
window.location.reload();
<button onClick="window.location.reload();">Refresh Page</button>