JSFiddle - React, Tailwind, and code Playground
by Christopher
HTML
var hw = getElementById("one");
var lp = getElementsByTagName("h1");
if (i=0;lp>0;i++) {
document.write("there are two h1 tags");
} else {
document.write("there are no h1 tags");
};
JavaScript
<div id="one">
<h1 class="b">Jump over the bridge</h1>
<h1 class="c">Jump over the Bridge, again</h1>
</div>