JSFiddle - React, Tailwind, and code Playground HTML <a href="#">Foo</a> JavaScript $('a').click(function myFunc(e) { console.log('Yay!'); });