“probably doesn’t do what you think it does”

Avatar of Robin Rendle
Robin Rendle on

UGURUS offers elite coaching and mentorship for agency owners looking to grow. Start with the free Agency Accelerator today.

An interesting post about the odd behaviour of querySelectorAll where it’ll match elements that you might not expect at first glance:

I think this API is surprising, and the front end engineers I’ve asked seem to agree with me. This is, however, not a bug; it’s definitely how the spec claims it should work, and how it works in Firefox, Chrome and Safari.

Direct Link →