Count divs with CSS style set to display: flex (not inline) and output the counted number in div as text – Jquery
This question is a party duplicate of an answer in jQuery count div that has display:block. I changed getElementsByTagName to getElementsByClassName and block to flex in the -if- statement. Because I need the following functionality: Count the divs that are…