Updated examples with new querySelector