Bit #27
You can use the :scope
pseudo class to select direct children of an element with .querySelectorAll()
.
With the HTML above, you can do:
You can use the :scope
pseudo class to select direct children of an element with .querySelectorAll()
.
With the HTML above, you can do: