JSFiddle - React, Tailwind, and code Playground

by ryanwfiorini

HTML

text1
<br />
<br />
<br />
text2
<br />

JavaScript

debugger;
var children = $(document.body).children();

$(document.body).children().each(function(index) {
    alert(index + ': ' + $(this).text());
});