JSFiddle - React, Tailwind, and code Playground
by DOK_UA
HTML
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<button>Set text content for all p elements</button>
<p>This is a paragraph.</p>
</body>
</html>
JavaScript
$(document).ready(function(){
$("button").click(function(){
$("p").text("Hello world!");
});
});