Horizontal Scroll Made Easy in HTML, CSS and Javascript (just a little)

preview_player
Показать описание
Hi guys, in this tutorial, I will guide you through the process of creating a streamlined horizontal scrolling feature using HTML and CSS, with a touch of JavaScript. By employing a minimalistic approach, we will achieve a polished and professional outcome. So, without further ado, let's dive right in!

#webdevelopment #javascript #frontend
Рекомендации по теме
Комментарии
Автор

9:58

I decided to get and save the card width value in javascript because if it were a responsive site, its value would be dynamic and not fixed.
In that case, it would be recommended to derive it each time when the two buttons are clicked so you can be sure you always have the correct value and i recommend doing it inside the eventlistener.

omarjab
Автор

How could I add a paginator with dots? 🤔

oscar_cornejo
join shbcf.ru