JSFiddle - React, Tailwind, and code Playground

HTML

<textarea>Something</textarea>

JavaScript

$("textarea").click(function() {
    if ($(this).text() === "Something") {
        $(this).text("");
    }
});