I'm new in HTML and I would like some help, I would like to create an HTML button that acts like a link.
So, when you click the button, it redirects to a page locally stored in the same file, which is named "page 2 html",
I have a code line:
<button type="submit">connect</button>
I would like to add a "window.onclick" function to this button which redirect to "page 2 html" and what will be the javascript function that goes with it?
Thanks.