I'm trying to create a button to go back to the homepage on my server. I've created the buttonon but I'm not sure how to add an action to this button to go back, I'm also unsure as to how to refer to the home page.
I'm using Node to program.
This is what I've tried:
button(type="home", action="http://localhost:3020/") Home
This will create the button but when I click it, it doesn't actually go to this page. This is my first time trying to do any web development so it seems to be a steep learning curve for me!
Thanks in advance