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

Комментарии • 55

  • @takayumaja_4338
    @takayumaja_4338 2 года назад

    Thank you so much Mr. Web Designer

  • @byronloarte
    @byronloarte 3 года назад

    Excelent my dear friend, it's really nice and short the video

  • @jcare07
    @jcare07 3 года назад

    Excelente como siempre. Todo un artista. 👍

  • @twowrld2
    @twowrld2 2 года назад +1

    Amazing 👍

  • @mzaw3112
    @mzaw3112 Год назад

    Your videos is very helpful for me and I love it very much. It is really easy to learn slider animation.

  • @mosesimmanuel1591
    @mosesimmanuel1591 3 года назад

    Super sir. thanks For Video Sir..

  • @kumarrounak774
    @kumarrounak774 3 года назад

    Amazing 🤩🤩

  • @Vishal-fz8ug
    @Vishal-fz8ug 3 года назад

    Helpful 😀😀

  • @sh9vch9nk0
    @sh9vch9nk0 5 месяцев назад

    Very useful, thank you! 🤓🤓👍👍

  • @rizkyhidayat6494
    @rizkyhidayat6494 2 года назад +1

    Thank you🥺🥺

  • @arielgomez7832
    @arielgomez7832 Год назад

    excelente! Thanks

  • @alfredosanchez6355
    @alfredosanchez6355 3 года назад

    Thank you so much for inspire us

  • @yeasinarafat1694
    @yeasinarafat1694 3 года назад

    Good video

  • @TechnicalScienceCreation
    @TechnicalScienceCreation Год назад

    Love you dear. Thanks a lot for this video

  • @xiuqingli4001
    @xiuqingli4001 2 года назад

    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?

    • @MrWebDesignerAnas
      @MrWebDesignerAnas  2 года назад

      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

  • @robinncode
    @robinncode Год назад

    Thanks a lot

  • @robyadiputra6683
    @robyadiputra6683 3 года назад +1

    Amazing sir, please source code ☺️🙏

  • @sallytavkhelidze1276
    @sallytavkhelidze1276 Год назад +1

    I added it on my website after some content and it didn't work at all :((

  • @shivambhaumik_b_877
    @shivambhaumik_b_877 Год назад

    how can i use mouse scroll function in this

  • @niyassby9345
    @niyassby9345 5 месяцев назад

    i cant use this code
    show this err
    Uncaught TypeError: Cannot read properties of undefined (reading 'classList')

  • @aguswidiarsanatv8052
    @aguswidiarsanatv8052 Год назад

    please help me, why doesn't "cursor: pointer" appear on my website

    • @MrWebDesignerAnas
      @MrWebDesignerAnas  Год назад

      your browser might not support the property
      update your browser or use -webkit- prefix

    • @aguswidiarsanatv8052
      @aguswidiarsanatv8052 Год назад

      @@MrWebDesignerAnas how to?, please help me🙏🙏

  • @ZakirHossain-nq8jp
    @ZakirHossain-nq8jp Год назад

    Soft song

  • @natashakainat337
    @natashakainat337 2 года назад

    Sir i got stuck in js coding would you like to guide me?

    • @MrWebDesignerAnas
      @MrWebDesignerAnas  2 года назад

      what happen? which part is not working? did you write the exact javascript code with same classes?

  • @joseceless6929
    @joseceless6929 2 года назад

    Code please! Thank you bro!

    • @MrWebDesignerAnas
      @MrWebDesignerAnas  2 года назад

      thank you
      sorry but most of the sort videos doesn't contains source code my up coming latest videos does.

  • @0108ben
    @0108ben Год назад

    Java script does not seem to work, is there any way you can help me?

    • @MrWebDesignerAnas
      @MrWebDesignerAnas  Год назад

      show me your javascript code in the reply

    • @0108ben
      @0108ben Год назад

      Hiya, sorry I fixed the issue, I had named one of the functions wrong lol, thank you anyway, have a good day :D

    • @ninogogoladze7614
      @ninogogoladze7614 Год назад

      @@0108ben Can you show me javascript?

  • @ninogogoladze7614
    @ninogogoladze7614 Год назад

    Javascript doesn't seem to be working for me, can you help me please?

    • @ninogogoladze7614
      @ninogogoladze7614 Год назад

      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);

    • @MrWebDesignerAnas
      @MrWebDesignerAnas  Год назад

      select the childrens as well
      let slides = document.querySelectorAll('.slide-container .slide');

    • @ninogogoladze7614
      @ninogogoladze7614 Год назад

      @@MrWebDesignerAnas Still not working 🥺

  • @aogiriyomi3364
    @aogiriyomi3364 2 года назад

    sir can you make the source code ?

  • @creativeconnect10
    @creativeconnect10 Год назад +1

    Give code link

  • @user-wd7wp1bx4x
    @user-wd7wp1bx4x Год назад

    sir please sourch code provide

  • @vv-so4em
    @vv-so4em 3 года назад

    can i contact you?

  • @Ranjeetkumar-ct2zn
    @Ranjeetkumar-ct2zn 2 года назад

    Please provide me javascript carousel source code

    • @MrWebDesignerAnas
      @MrWebDesignerAnas  2 года назад

      its in the descriptions

    • @kamashobingo2583
      @kamashobingo2583 Год назад

      @@MrWebDesignerAnas You are a selfish liar and you are looking for the number of views only where is the code

  • @tanmaybhuwad1201
    @tanmaybhuwad1201 Год назад +1

    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?