marko krstić

Collections

Archives

Back button

function goBack() {
  window.history.back();
}
<button onclick="goBack()">Go Back</button>

This code will lead you to the page same as you pressed back in Browser

Let's Connect

Feel free to reach out for collaborations or just a friendly hello ?
[email protected]
linkedininstagramdribbblefacebook-official