How to add Back button on Squarespace

Back button: when the user clicks on the back button, the browser will go back to the previous page.

#1. First, edit the page where you want to add the Back button

#2. Add a Block

image

#3. Choose Code

#4. Paste this code into Code Block

<button type="button" onclick="history.back();">Back</button>