Hacker News new | ask | show | jobs
by superq 515 days ago
Clicking a link signals the user's intent. That's how hypertext works.

Click here to agree.

1 comments

Clicking a link indicates the user wants to see something. Clicking a button indicates the user wants to do something.

Links shouldn’t change state. This has been an extremely strong convention for several decades. If you write code that changes state when a page is loaded, you are breaking this convention.