Create A Draggable Image Slider in HTML CSS & JavaScript | Mobile Friendly Slider in JavaScript

Опубликовано: 30 August 2026
на канале: CodingNepal
256,433
4.7k

In this video, I've shown how to Create A Draggable Image Slider in HTML CSS & JavaScript. I didn't use any external plugins or libraries to create this slider carousel. It's made with vanilla JavaScript and works fine on touch devices too.

🖼️ Get Images Only of this Image Slider
➤ https://drive.google.com/file/d/1cXIb...

🗂️ Get Source Code of this Image Slider
➤ https://buymeacoffee.com/codingnepal/...

🌐 Visit CodingNepal for helpful coding projects
➤ https://www.codingnepalweb.com

⭐ Hire me on Fiverr
➤ https://www.fiverr.com/prakashahi

📷 Follow me on Instagram
➤   / coding.np  

🤝 Support my work
➤ https://buymeacoffee.com/codingnepal

Timestamps:
0:00 Demo of Image Slider
1:10 HTML & CSS Start
6:33 Making Carousel Responsive
7:20 JavaScript Start
7:45 Sliding Images on Mouse move
12:10 Working on Previous & Next Icon
20:24 Making Carousel Touch Friendly
21:58 Auto Sliding Middle Image to the Center

Music Credit:
Deep Sea by Vendredi
   • Video  

Something 'bout July (Instrumental) by RYYZN
   • Video  

Ikson - We Are Free [Official]
   • #83 We Are Free (Official)