JSFiddle - React, Tailwind, and code Playground

HTML

<a href="#">See All</a>

<a href="#">See All 2</a>

JavaScript

$("a").filter(function() {
    return $(this).text().match('See All');
}).click(function() {
    document.write;('hello')
});