JSFiddle - React, Tailwind, and code Playground
by 1337
HTML
<div>First DIV</div>
<div>Second DIV</div>
JavaScript
$("body div:contains('First')").next().prepend("<br>").prepend(
$("<a>")
.css("border-bottom", "1px dashed #000")
.css("cursor", "pointer")
.text("Link")
);
$("body div:contains('First')").next().last("a").css("width", "100%").css("text-align", "center");