Animated Responsive Image Slider With Next And Previous Buttons Using HTML CSS JS || Autoplay Slider
HTML-код
- Опубликовано: 12 июн 2021
- How to make an animated responsive image website slider with next and previous buttons and autoplay slides effects using html css and vanilla javascript.
create a responsive animated slider with controls, next and preview buttons and auto play slides animation effects using pure vanilla javascript.
pure javascript image slider with auto-play and manual buttons effects.
download and edit images form here:
storyset.com/illustration/res...
storyset.com/illustration/dev...
storyset.com/illustration/web...
New To My Channel Subscribe Now And See More Stuff Like This:
/ @mrwebdesigneranas
#JavascriptSlider
#AnimatedSlider
#AutoPlaySlider
Thank you so much Mr. Web Designer
Excelent my dear friend, it's really nice and short the video
Excelente como siempre. Todo un artista. 👍
Amazing 👍
Your videos is very helpful for me and I love it very much. It is really easy to learn slider animation.
Super sir. thanks For Video Sir..
Amazing 🤩🤩
Helpful 😀😀
Very useful, thank you! 🤓🤓👍👍
Thank you🥺🥺
excelente! Thanks
Thank you so much for inspire us
It's my pleasure
Good video
Love you dear. Thanks a lot for this video
My pleasure 😊
I have a question not related to this particular video but your other excellent videos. How do you decide what font size to use/that looks good and what padding or margin to use? Did you just pick a number and see if it looks good and if not, either decrease or increase it?
I would prefer to put font size to the medium level so that user can easily read the text without any difficulties
and yeah, font size has to be decreased according to the screen size of device
Thanks a lot
Most welcome
Amazing sir, please source code ☺️🙏
I added it on my website after some content and it didn't work at all :((
how can i use mouse scroll function in this
i cant use this code
show this err
Uncaught TypeError: Cannot read properties of undefined (reading 'classList')
please help me, why doesn't "cursor: pointer" appear on my website
your browser might not support the property
update your browser or use -webkit- prefix
@@MrWebDesignerAnas how to?, please help me🙏🙏
Soft song
Sir i got stuck in js coding would you like to guide me?
what happen? which part is not working? did you write the exact javascript code with same classes?
Code please! Thank you bro!
thank you
sorry but most of the sort videos doesn't contains source code my up coming latest videos does.
Java script does not seem to work, is there any way you can help me?
show me your javascript code in the reply
Hiya, sorry I fixed the issue, I had named one of the functions wrong lol, thank you anyway, have a good day :D
@@0108ben Can you show me javascript?
Javascript doesn't seem to be working for me, can you help me please?
let slides = document.querySelectorAll('.slide-container');
let index = 0;
function next(){
slides [index].classList.remove('active');
index = (index + 1) % slides.length;
slides [index].classList.add('active');
}
function prev(){
slides [index].classList.remove('active');
index = (index - 1 + slides.length) % slides.length;
slides [index].classList.add('active');
}
setInterval(next, 7000);
select the childrens as well
let slides = document.querySelectorAll('.slide-container .slide');
@@MrWebDesignerAnas Still not working 🥺
sir can you make the source code ?
Give code link
sir please sourch code provide
can i contact you?
Please provide me javascript carousel source code
its in the descriptions
@@MrWebDesignerAnas You are a selfish liar and you are looking for the number of views only where is the code
let slides = document.querySelectorAll('.slide-container');
let index = 0;
// next function
function next(){
slides[index].classList.remove('active');
index = (index + 1) % slides.length;
slides[index].classList.add('active');
}
// previous function
function prev(){
slides[index].classList.remove('active');
index = (index - 1 + slides.length) % slides.length;
slides[index].classList.add('active');
}
Not working sir?
setInterval(next,5000); try this