JSFiddle - React, Tailwind, and code Playground

by Christian Sonne

HTML

<a onclick="onClick(this)">Click me</a>

JavaScript

function onClick(el) {
	console.log(el, this);
}