JavaScript30 day 24: Sticky nav

Another classic: sticky navigation on scroll!

I’ve done this many times but never using vanilla JavaScript so it’s good to see it done as plainly as possible.

The demo is here and the files are on github.