html Jak podać fałszywy link
document.getElementById("nothing").addEventListener("click", function(event){
event.preventDefault()
});
Dull Dugong
document.getElementById("nothing").addEventListener("click", function(event){
event.preventDefault()
});
<a id="nothing" href="#">Link</a>