In this video, I'm going to teach you how to build a fully functional Image Slider with HTML, CSS, and JavaScript without any external libraries or tools. We're going to build two variations of it.
In the first one, we build everything with a minimum CSS keeping only one img tag on the DOM. And we just change the src attribute of it to show the next image when clicking the next/previous arrows.
In the second variation, we keep all the img tags on DOM. But we show only one of them. We also add some animations for when an arrow is clicked. This will slide the current image off the screen, and slide in the next image from the appropriate direction using CSS Keyframes.
Code: https://github.com/code-with-ahsan/js...
00:00:00 - Intro
00:00:47 - First Variation - No animation and single IMG tag on DOM
00:25:20 - Second Variation - With CSS Keyframes and multiple IMG tags on DOM
00:59:17 - Outro
On this page of the site you can watch the video online Building an Image Slider from scratch using HTML, JavaScript and CSS with a duration of hours minute second in good quality, which was uploaded by the user Code with Ahsan 16 October 2022, share the link with friends and acquaintances, this video has already been watched 1,739 times on youtube and it was liked by 38 viewers. Enjoy your viewing!