<a href="javascript:alert(222)">Click Me</a>

<script>
	document.addEventListener('click', function(e) {
		alert(111);
	}, true);
</script>

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.