Skip to content
Carlo Fontanos
Carlo Fontanos

Carlo Fontanos

Software Engineer

I build web applications and share what I learn along the way.

© 2026

scrolling

7 tutorials

Step-by-step programming tutorials on PHP, JavaScript, Laravel, WordPress and more.

CSS Intermediate

position: sticky Isn't Broken - Your Overflow Is

Sticky elements that refuse to stick are almost always trapped by an ancestor with overflow set, or a parent that is exactly as tall as they are. Here is the debugging checklist.

2 min 747
CSS Intermediate

CSS-Only Carousels with scroll-snap

A swipeable, momentum-friendly, accessible carousel needs no JavaScript at all. scroll-snap turns a plain overflow container into one, and it feels native because it is.

2 min 4,539
JavaScript Intermediate

Infinite Scroll Without a Single Scroll Listener

Scroll listeners fire hundreds of times per second and need throttling, math and luck. IntersectionObserver watches a sentinel element and calls you exactly when it matters.

2 min 1,720