How to Create an Automatic Image Slider in HTML CSS & JavaScript

preview_player
Показать описание
How to Create an Automatic image slider in HTML,CSS & JavaScript

In this video i''m going to teach you How to create an Automatic Image Slider in HTML, CSS and JavaScript, I've used HTML5 to make a page structure, then I've used CSS to design the slider and finally, I've use little bit JavaScript to change the images automatically.

So, after watching the complete tutorial, then you will able to understand everything as you want.

OnlineITtuts Tutorials cover many topics such as Web Designing, Web Development, Programming, Database, WordPress, Blogging, Google AdSense, Digital Marketing and TipsNTicks. I was made many videos for different categories, and I will share another helpful tutorial for different topics.

Support Me on Patreon

Follow Us on Facebook

Follow Us on Twitter

Follow Us on Pinterest
Рекомендации по теме
Комментарии
Автор

Sometimes coding can be so goddamn frustrating, thank u brother

abdullahwasim
Автор

<script type="text/javascript">

var counter = 1;
setInterval(function(){
= true;
counter++;

If(counter>4){
counter = 1;
}

};5000)

</script>

the code is not working for auto navigation sir.

Young_prof
Автор

Thak you so much brother, the tutorial has been really helpful.
God bless you.

lubegatom
Автор

Was really curious, as to whether i could use this code for multiple sliders in the same webpage, because the automatic slider starts to break when i try to implement this code for two sliders

varunshankar
Автор

the script runs the first time just to set the counter to 1, losing 5s while stopped, you can set this at the beginning of the script, outside the loop and it won't have this delay at the beginning.

<script>
var counter = 1;
counter).checked = true;
setInterval(function()
{
counter++;
counter).checked = true;

if(counter>=4){
counter=0
}
}, 5000);
</script>

WppGabreu
Автор

great work but there is no source codes for its responsiveness.

Young_prof
Автор

What if I dont set my body to display: flex, is there any different?

chooyinkeat