JSFiddle - React, Tailwind, and code Playground
HTML
<p>This is a paragraph.</p>
<p>This is another paragraph.</p>
<button onclick="initiate();">Click me</button>
JavaScript
function initiate() {
$("p").text("Hi");
Hello();
}
function Hello() {
alert("Hello, you have called another function");
}