3 ms·
why not just use <form action="https://example.com"><button type="submit">Link button</button></form> no need for JS
by fath0m 5y ago
why not just use
<form action="https://example.com"><button type="submit">Link button</button></form>
no need for JS
- yurishimo 5y agoWhy not use use an anchor tag?
- stefanfisk 5y agoBecause you cannot make `form` `inline-block` for only this instance without classes.