Zach Leatherman avatar Zach Leatherman

JavaScript, Community

Screenshot of “JavaScript, Community”

I want to be a web developer, not a JavaScript developer.


(Read the whole post, of course.)

  1. TIL IntersectionObserver's rootMargin only works if the observer is in the same origin, because of privacy concerns:

    There is a risk that the API may be used to probe for information about the geometry of the global viewport itself, which may be used to deduce the user’s hardware configuration.

    That's why this demo of a sticky navigation doesn't work in CodePen's default view… 😞