JSFiddle - React, Tailwind, and code Playground

HTML

<div>
    inside
    <input type="text" />
    inside
</div>

CSS

div
{
    color: red;
}

JavaScript

$("<label />").text("Label").insertAfter(
    $("input").parent()
    );