Loading homepage
Implement your own getElementsByClassName using DOM traversal to find descendants containing all requested classes.
Input: getElementsByClassName(root, "card active"); Output: An array of descendant elements containing both card and active.
Use the documented contract in both JS and TS.