I am creating a 404 page and got to thinking.
Is it possible to make a button on my 404 that acts as a “Back” button as opposed to something like “back to home” The idea is that if a user ever encounters a 404 he can easily go back to the previous page.
I know that they can easily press the back button on the browser, but I want to make it as user friendly as possible.
Here is my site Read-Only: LINK
(how to share your site Read-Only link)
Hello @edurigo, yes it possible to make a button like that, you will have to use an embed element with some custom html. First create a button with a class then where you want your button add an embed element with the following code:
<button class = "yourclass" onclick="history.back()">Go Back</button>
This button works just like the back button on the browser. I hope this helps.