What Does javascript:void(0); Mean? - freeCodeCamp.org
https://www.freecodecamp.org/news/javascript-void-keyword-explained/
WEBOct 27, 2020 · This, used with void(0) means, do nothing - don't reload, don't navigate, do not run any code. For example: <a href="javascript:void(0)">Link</a> The "Link" word is treated as a link by the browser. For example, it's focusable, but it doesn't navigate to a new page. 0 is an argument passed to void that does nothing, and returns nothing.
DA: 16 PA: 30 MOZ Rank: 2