JSFiddle - React, Tailwind, and code Playground
by Dineshkani
HTML
<div id="firstdiv"></div>
<div id="seconddiv"></div>
JavaScript
//jquery
$("#firstdiv").html("Hello world"); //Put the content into HTML tag.
alert ($("#firstdiv").html()); //Gets the content from HTMl tag.
//Javascript
document.getElementById("seconddiv").innerHTML = "Hello Javascript"; //Put the content into HTML tag.
alert(document.getElementById("seconddiv").innerHTML); //Gets the content from HTMl tag.
//Compare both Javascript and Jquery and see which one is easy to use.