querySelector

querySelector(node, query) returns the first descendant of node matching the CSS query, or null — the per-node form of node.querySelector. Its companion is querySelectorAll. For document-scoped shorthands with type inference, see pota/use/test's $ / $$. Part of pota/use/dom.