JSFiddle - React, Tailwind, and code Playground

by Maria

HTML

<body>
     <h1>First one</h1>

     <h2>Second one</h2>

     <h3>Third one</h3>

</body>

JavaScript

var ele = document.body.firstElementChild;
debugger;
for (var ele = document.body.firstElementChild; i < 3; i++) {
    alert(i);
}