I have two level tag entry
<div>...<div>...</div>..</div>
How can I get to know how many of such tag entries was used on the page using document.querySelector()? Should I right something like this?
document.querySelectorAll('div > div')
I have two level tag entry
<div>...<div>...</div>..</div>
How can I get to know how many of such tag entries was used on the page using document.querySelector()? Should I right something like this?
document.querySelectorAll('div > div')