JSFiddle - React, Tailwind, and code Playground

by irinablue

JavaScript

const stoppersList = [
                      'item',
                      'pkw-related__product',
        			  'top-small-products-items__item',
                      'related-products',
                      'top-product-list__item',
                      'product-list__item',
                      'list-item-product',
                      'choose-liter__row'
                  ];
              
for (var stopper of stoppersList) {
   // if (el && el.classList) {
              //elReachedList = el.classlist.contains(stoppersList[stopper]);
              console.log(stopper);
    //}
}