SOLID principles help us keep code flexible. In this article, we’ll examine all of those principles and their implementation using JavaScript.
JavaScript’s Date API has many limitations. Explore alternative libraries like Moment.js, date-fns, and the new Temporal API.
Explore use cases for using npm vs. npx such as long-term dependency management or temporary tasks and running packages on the fly.
Validating and auditing AI-generated code reduces code errors and ensures that code is compliant.
4 Replies to "How to use CSS Scroll Snap"
Hmmm that demo didn’t work in Chrome Mobile…
Firefox supports modern version of spec since version 68 (current ESR), you have outdated info…
You’re right, thanks for pointing that out.
Thanks for this article. Unfortunately there seem to be a couple Chrome bugs that make this property rather unusable. For example the following where a tick of the mouse scroll wheel scrolls 2 panels instead of one (https://stackoverflow.com/questions/58863384/increase-sensitivity-of-scroll-snapping-in-google-chrome). Do we know of any workarounds?