JSFiddle - React, Tailwind, and code Playground

HTML

<section>
    <h3>An incremental list</h3>
    <ul class="incremental">
      <li>Item 1</li>
      <li>Item 2</li>
      <li>Item 3</li>
    </ul>
</section>

CSS

section {display:block;}
ul {list-style-type: disc;}

JavaScript

NodeList.prototype.forEach = function(fun) {
    if (typeof fun !== "function") throw new TypeError();
    for (var i = 0; i < this.length; i++) {
      fun.call(this, this[i]);
    }
  };

    //function myload(evt) {
        var incrementals = document.querySelectorAll('.incremental li');
[].forEach.call(incrementals, function(aNode) {console.log(aNode); });
    //}
    //document.addEventListener("load", myload, true);