how do you feel about this mixing of control logic and display information:

  <a href=“/clicked”>click me</a>

we call that HTML standard, and (in principle) works in any browser without the need to use JavaScript.