Pixel puncher, pusher and prodder @SitePointDotCom
I’m setting a placeholder variable called lastScrollTop as a number. This is going to be updated on user scroll, so made it a “var” instead of a “const”.
…also parts of UX. So, probably, focusing just on one aspect and measuring it in isolation won’t say you a lot about how good the UX is?
In this article, I’ll desribe 5 useful techniques for microinteractions and provide some helpful examples.