JSFiddle - React, Tailwind, and code Playground

by Alma Grace

HTML

<h1> first one</h1>
    <h2> second one</h2>
    <h3> third one</h3>
here's the main body

JavaScript

for(var ele=document.body.firstChild; ele; ele = ele.nextSibling){
alert(ele.nodeName);

    debugger;
}