How to make buttons act as... well, buttons!
If you run the Repl i attached, clicking the buttons does not work and only clicking the text on the button does. I did this because the
<a> tag allows
href and the
<button> tag does not. Basically I just did this:
You could add an event listener to the button that sends the client to a new page using js.
To add an event listener in html, do
<button onclick="js_stuff()" <!-- this causes the js_stuff() function to run on the "click" event. --> ></button>