JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<div id="container">
<a href="#">Teste 1</a><br />
<a href="#">Teste 2</a><br />
<a href="#">Teste 3</a><br />
<a href="#">Teste 4</a><br />
<a href="#">Teste 5</a>
</div>
JavaScript
$(function(){
$("#container a").bind("click", function () {
console.log($(this).text());
});
});