how to make a link unclickable in javascript code example Example: how to make an anchor tag unclickable .disableClick{ pointer-events: none; }