JSFiddle - React, Tailwind, and code Playground

by hobobne

HTML

<html>
<head>
    <title>This is a title!</title>
</head>
<body style="background: lightblue">

<a href="#" target="my_target">Click Me!</a>

</body>

JavaScript

$('a[target=my_target]').click(function () {
    alert('you got pwned!');
    return false;
});