JSFiddle - React, Tailwind, and code Playground
by niklasvh
HTML
<h1 id="toptitle">Profil</h1>
JavaScript
$('#toptitle:contains("Profil")').text("New word");
by niklasvh
<h1 id="toptitle">Profil</h1>
$('#toptitle:contains("Profil")').text("New word");