JSFiddle - React, Tailwind, and code Playground

by Nick Craver

HTML

<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/dot-luv/jquery-ui.css">
<a href="#">1st Link</a>
<a href="#">2nd Link</a>

JavaScript

$('a').eq(1).click(function() {
  alert('you clicked 2nd link');
});