How to make Responsive Card Slider in HTML CSS & JavaScript | SwiperJs

Поділитися
Вставка
  • Опубліковано 18 вер 2024
  • How to make Responsive Card Slider in HTML CSS & JavaScript | SwiperJs
    In this video, I have to build a Responsive Card Slider using HTML CSS and JavaScript, and swiperjs. You can slide cards by clicking on the nav button and cursor and I have also added pagination. This project is fully responsive and fits all media devices.
    ---
    🗂️ Get Source Code of this Card Slider
    ➤ buymeacoffee.c...
    🌐 Visit CodingNepal for helpful coding projects
    ➤ www.codingnepa...
    ⭐ Hire me on Fiverr
    ➤ www.fiverr.com...
    📷 Follow me on Instagram
    ➤ / coding.np
    🤝 Support my work with a coffee
    ➤ buymeacoffee.c...
    #Card_Slider #Sliding_Card #html_css_javascript
    ---
    🎵 Music Credit:
    Deep Sea by Vendredi / vendrediduo
    Creative Commons - Attribution 3.0 Unported - CC BY 3.0
    Free Download / Stream: bit.ly/-deep-sea
    Music promoted by Audio Library • Deep Sea - Vendredi (N...
    Something 'bout July (Instrumental) by RYYZN
    Free Download / Stream: bit.ly/-_someth...
    Music promoted by Audio Library • Something 'bout July (...
    Song: Ehrling - You And Me (Vlog No Copyright Music)
    Music provided by Vlog No Copyright Music.
    ➤ Video Link: • Ehrling - You And Me (...
    Song: Ikson - We Are Free (Vlog No Copyright Music)
    Music promoted by Vlog No Copyright Music.
    ➤ Video Link: • Ikson - We Are Free (V...

КОМЕНТАРІ • 325

  • @bkishwarchavan7787
    @bkishwarchavan7787 Рік тому +5

    bro you are pro developer.....many student got benifits of it ...superb

  • @lucamorropa
    @lucamorropa Рік тому +18

    I just wanted to say I've discovered your tutorials not too long ago but the amount of videos I've watched and learn from you I will always appreciate and never forget. Thank you so much!

  • @codingkatta7721
    @codingkatta7721 2 роки тому +45

    This is very helpful but Please try to add your own voice with explanation .

    • @CodingLabYT
      @CodingLabYT  2 роки тому +5

      Thank you for your kind suggestion. I will think about it.

    • @winter8136
      @winter8136 Рік тому +2

      @@CodingLabYT your styling is really cool. But it's just that we don't understand what's happening, like why you use that (certain) css property? Why do we need to do this? Because you dont talk.

    • @mahatojigaming
      @mahatojigaming Рік тому +2

      @@CodingLabYT please think fast sirji

    • @prathamnemade2293
      @prathamnemade2293 Рік тому

      ​@@winter8136 😊

    • @yasinsherif8875
      @yasinsherif8875 Рік тому

      @@CodingLabYT yes sir it will helpful we can't follow with your flow

  • @ahmetdogukankonuk
    @ahmetdogukankonuk 2 роки тому +47

    For people who cant make it responsive, you can use this (like media queries but you can only edit slidesPerView, spaceBetween):
    breakpoints: {
    640: {
    slidesPerView: 2,
    spaceBetween: 20,
    },
    768: {
    slidesPerView: 3,
    spaceBetween: 0,
    },
    1024: {
    slidesPerView: 4,
    spaceBetween: 0,
    },
    },

  • @lucasoriental6515
    @lucasoriental6515 5 місяців тому

    I'm speechless... I was trying to make this behavior in my React App by myself but I couldn't... Bro, you saved me! Thanks a Lot! I will implement on this way! Thanks again!
    SwiperJs is majestic!!

  • @jkwilliams7148
    @jkwilliams7148 11 місяців тому +2

    I coded along with you and this project works!! I couldn't get the little bullets under the images to show up but everything else worked fine! Thank you for an easy code-along. I appreciate you!

    • @davidruiz-bw5mx
      @davidruiz-bw5mx 6 місяців тому

      TE PASASTE UN DIV DEBERIA ESTAR DENTRO DEL SLIDE-CONTENT

  • @ab_obada5012
    @ab_obada5012 Рік тому +1

    Man I love UA-cam a lot. It introduces a lot of creative people.
    you deserve my appreciation.

  • @sasimo7019
    @sasimo7019 2 роки тому +6

    definitely diving into your videos. Thank you so much for taking the ti to teach us that are green in the field. Have a great day

    • @princechaudhary3382
      @princechaudhary3382 Рік тому +1

      Do you guys really think that he taught you something valuable? He doesn't know what he is doing, he is just unnecessarily nesting the divs element without having a property understanding and clarity

  • @indidwilestari853
    @indidwilestari853 2 роки тому +4

    THANK YOU!!! TNice tutorials is such an amazing tutorial. I just got soft soft today and was playing around on it but had no clue how to really use it.

    • @CodingLabYT
      @CodingLabYT  2 роки тому

      You are so welcome!

    • @cinna_talks
      @cinna_talks 6 місяців тому +1

      @@CodingLabYT can you provide the code

  • @CreativeTutorialsWeb
    @CreativeTutorialsWeb 2 роки тому +6

    What an amazing project great video Sir 👏👏

  • @TeachAshutosh
    @TeachAshutosh 2 роки тому

    Thank sir , you are my life on UA-cam platforms
    Because I have learn many code see your video.
    Big fan sir

  • @Gaanamusicrecords
    @Gaanamusicrecords 2 роки тому +3

    An excellent video turned out, everything is well thought out, a very clear instruction turned out)))

  • @arthurkhallifa
    @arthurkhallifa Рік тому

    i was trying to find a way to make those slider's responsive, to my lucky i found ur video, ty so much!

  • @RIbbb
    @RIbbb Рік тому +1

    Great tutorial. Learned a lot (especially your shortcuts - didn't get that in my paid courses haha) would love some more of these using the current version of Swiper. Also a video on your thoughts about Swiper would be cool. Thank you and thanks for you great content.

  • @5420DhruvBarapatre
    @5420DhruvBarapatre 9 місяців тому

    Thank You Broooo.... For Teaching Slider In html Css ❤❤❤❤❤

  • @sumitrawat6621
    @sumitrawat6621 2 роки тому +2

    Great sir you are awsome 💕❤️😊

    • @CodingLabYT
      @CodingLabYT  2 роки тому +1

      Thank you so much 😀

    • @sumitrawat6621
      @sumitrawat6621 2 роки тому +1

      Sir i am 16 years old and very much interested in web developing
      You are my best teacher sir, i want be become your student

  • @saidanadam5373
    @saidanadam5373 2 роки тому +1

    The Best Content , i love You Bro

  • @kabic18
    @kabic18 2 роки тому +2

    Excellent video. Thank you so much.

  • @watashiuruhaku9901
    @watashiuruhaku9901 2 роки тому +1

    Nice tutorial, i just cracked soft soft ;)

  • @t.i.i8608
    @t.i.i8608 2 роки тому +2

    thank you for the video, it's helpful!

  • @JJ-ot3ps
    @JJ-ot3ps 2 роки тому

    love to see this in tailwind too!

  • @jujuba_radioativa
    @jujuba_radioativa 6 місяців тому

    Thank you very much! This help me a lot!!

  • @vinayshetty5929
    @vinayshetty5929 11 місяців тому +1

    Please follow the steps exactly how he will do. in swiper download the version same as he downloads and make separate file for css and javascript to get correct output for slider

  • @mylife9700
    @mylife9700 Місяць тому

    you are really brilliant

  • @pratyadutimishra3332
    @pratyadutimishra3332 Рік тому

    Superb superb and superb!!!!!!!!!!!!!!!!!!

  • @abcfuture5779
    @abcfuture5779 2 роки тому +1

    cool keep it up bro

  • @martinezsalinasemiliano6543

    the best video I’ve ever seen, thankssss!

  • @dipanjansaha9043
    @dipanjansaha9043 5 місяців тому

    kudos to you bro!!!!

  • @j.a_delute
    @j.a_delute 2 місяці тому

    What brain do you havee my gasssh 😫 This is really amazing! Thank youuuu!

    • @CodingLabYT
      @CodingLabYT  Місяць тому +1

      I'm glad you like it

    • @j.a_delute
      @j.a_delute Місяць тому

      @@CodingLabYT I'm a new fan!
      🥰

  • @Agong22067
    @Agong22067 Рік тому +4

    When I put swiper-slide on the card div, its making the card take up the whole width of the container??

  • @quizgamerzdevkrishn914
    @quizgamerzdevkrishn914 6 місяців тому +3

    in swiper js website the option the infinite loops one is not coming

  • @GiorgiRatiani31
    @GiorgiRatiani31 Рік тому +1

    never guys never trie to learn such a big code
    try always small and ese wayy

  • @davidross1332
    @davidross1332 Рік тому +3

    My card fills the entire container, I have tried for hours to get this to work. My prev and next buttons wont work either and I can't slide with the mouse

  • @ZeinaAymanFathyMohamed
    @ZeinaAymanFathyMohamed 2 місяці тому

    that is extremely helpful♥

  • @UdomTanong
    @UdomTanong 2 роки тому +1

    Excellent

  • @Basicknown
    @Basicknown 10 місяців тому

    Thanks this is very helpful 😊

  • @kevinsamir4655
    @kevinsamir4655 2 роки тому +2

    You have no idea how grateful I am for tNice tutorials series

  • @marcos2380
    @marcos2380 2 роки тому +6

    Maravilha aprendi muito

  • @Henry_Nunez
    @Henry_Nunez 2 роки тому +1

    👏 EXCELENTE

  • @godfirstjohnson1916
    @godfirstjohnson1916 2 роки тому +2

    The video is very nice, must it would have been more better it it was a little slower and explanation for beginners

  • @nanaagyemang230
    @nanaagyemang230 7 місяців тому +1

    This tutorial is good, i was able to learn something but the spaces between the cards did not come also the cards are not swiping as expected. if theres any way you assist me please.

  • @ahmedabdelmonem2409
    @ahmedabdelmonem2409 2 роки тому +1

    Thanks for the tutorial

  • @uniquegamer682
    @uniquegamer682 Рік тому

    Thanks a lot for this video👍🏻👍🏻👍🏻

  • @ararune3734
    @ararune3734 2 роки тому +1

    Holy mother of god somehow you always upload a video on the topic I need currently. Source code tho, how soon will it be there?

    • @CodingLabYT
      @CodingLabYT  2 роки тому

      Source code link will be uploaded soon.

  • @saidanadam5373
    @saidanadam5373 2 роки тому +1

    Thank you so much

  • @rollim3100
    @rollim3100 8 місяців тому

    thank you very much !

  • @jimenaulloa9720
    @jimenaulloa9720 Рік тому

    really great work, thank you

  • @emadbr2048
    @emadbr2048 Рік тому

    It was useful. Thank you ❤️

  • @BrianMaia
    @BrianMaia Рік тому

    Thank you so much!

  • @ashekerasulaltayef4087
    @ashekerasulaltayef4087 Рік тому +1

    Stick with it it gets easy over ti

  • @vitaliykolesnik3449
    @vitaliykolesnik3449 2 роки тому +1

    THANK YOU!!))

  • @ezugwuemmanuel-v7c
    @ezugwuemmanuel-v7c Рік тому

    really helpful

  • @BryanGranseDevs
    @BryanGranseDevs 11 місяців тому

    Nice

  • @fatkhur_rifqi
    @fatkhur_rifqi Рік тому

    Thank You

  • @okoyedindu824
    @okoyedindu824 2 роки тому +2

    It didn't work for me
    The page keeps going blank

    • @CodingLabYT
      @CodingLabYT  2 роки тому

      You can download all source files, link is in description.

  • @zuhairn
    @zuhairn Рік тому

    Thanks alot bro....it helps alot ❤🤍🌹🌹🌹

  • @kamalabuali1716
    @kamalabuali1716 4 місяці тому +1

    Hey so when I go try to find infinite loop with slides per group it is not appearing on the swiper.js website how can I fix this? The part of the video I am referring to is 12:55

  • @Deus-lo-Vuilt
    @Deus-lo-Vuilt 2 роки тому

    amazing

  • @shilpashekar1139
    @shilpashekar1139 Рік тому

    was struggling to keep this button outside thanks

  • @Muhammad-Saim-Rajpoot
    @Muhammad-Saim-Rajpoot Рік тому

    Thanks ! Really helpful.❤

  • @falana_vlogography4240
    @falana_vlogography4240 Рік тому

    thanks you so much brother

  • @lucasoliveira-qp6my
    @lucasoliveira-qp6my 2 роки тому +1

    Thank you

  • @RiverStyx-fw7qn
    @RiverStyx-fw7qn 5 місяців тому

    thank you so much

  • @bricas13
    @bricas13 2 роки тому +2

    lo he logrado , gracias

  • @hackeditz2.0
    @hackeditz2.0 2 роки тому

    Complete js in one vid from beginning plz and sorry for not commenting bcoz my phone drowned in water but now 😎😎

  • @victoraugusto31
    @victoraugusto31 2 роки тому +2

    there is a way to create this effect without using SwiperJs, just with pure JavaScript ?

    • @ultimultig
      @ultimultig 2 роки тому

      I have been trying to figure out how to do this as well

    • @victoraugusto31
      @victoraugusto31 2 роки тому

      @@ultimultig I managed to do something similar only with JS but I was not satisfied

    • @mayankdagar7
      @mayankdagar7 2 роки тому

      2 ways:- 1- use an array of objects for the content and add an event listener with the function to work on the array of object .
      2- use arrays only but this will take a lot of time.

  • @christCE
    @christCE Рік тому

    increíble tutorial, muy bueno

  • @ABHISHEKKUMAR-wt1pw
    @ABHISHEKKUMAR-wt1pw Рік тому

    Sir i love your video please add your voice especially in js video

  • @godfirstjohnson1916
    @godfirstjohnson1916 2 роки тому +1

    Can you make full crash video on properties to use,to initially make your website response with little work at media queries

  • @mohamedyoussef8835
    @mohamedyoussef8835 Рік тому

    Awesome video +++++++++++++ 🙂

  • @broccoli1938
    @broccoli1938 Рік тому

    trust me bro on spite of that I don't know who are you but I love you more than those who I know💙

    • @CodingLabYT
      @CodingLabYT  Рік тому

      Thank you so much. Best regards from my side.

  • @saygonwaterpark3518
    @saygonwaterpark3518 2 роки тому +1

    thx buddy

  • @nasserabattouy2637
    @nasserabattouy2637 Рік тому +1

    i have defenetely the same files and i don't understand where does my mistake comes from. let met explain : in summary, i only have one element that i cannot swipe.

    • @CodingLabYT
      @CodingLabYT  Рік тому

      You can take all the source code file form my website, link is in description.

    • @nasserabattouy2637
      @nasserabattouy2637 Рік тому

      @@CodingLabYT i wish i could do so. but the web site doesn't allow me to download it because of an adblock extension that i even don't have.

  • @robertcristian906
    @robertcristian906 2 роки тому +1

    I cannot color the bullets from pagination.The selector .swiper-pagination-bullet doesn't work. Any ideas ?

    • @Madson123100
      @Madson123100 Рік тому

      Had the same problem, solved by switchin the "." for "-" before "bullet" in the css: .swiper-pagination-bullet{

  • @marvelheroes6703
    @marvelheroes6703 Рік тому +1

    The swiper won't work
    with dropdown

  • @roro-hb2ho
    @roro-hb2ho 2 роки тому +1

    hi when i click on the buttons it moves the slider to right. how i can make it just a normal button??

    • @CodingLabYT
      @CodingLabYT  2 роки тому

      you can take source code, link is in description.

  • @alexalejos1049
    @alexalejos1049 2 роки тому +1

    when I use the grid system everything overflows, maybe it is not compatible with the grid or is it an error in my code? thx for video

  • @hoahoangxuan9246
    @hoahoangxuan9246 2 роки тому +1

    How to quickly enter the new line to write code instead of click -> button?

  • @user-rz7mi8pi3h
    @user-rz7mi8pi3h Рік тому

    Thankyou very much your content help a lot😊.Can i use it in a website?they wil not claim copyright?please tell

  • @nikakuprashvili8235
    @nikakuprashvili8235 6 місяців тому +11

    source code please?

  • @palapa804
    @palapa804 2 роки тому +1

    I'm wondering, what if it's made automatically?,does it need to be reset all?

  • @Alex-xe6bl
    @Alex-xe6bl 2 роки тому +1

    when I set the slidesPerView to auto or whatever value. it puts the 1st item as last. the second item is displayed first

    • @CodingLabYT
      @CodingLabYT  2 роки тому

      You can take source code from my website link is in description

  • @technosujeet
    @technosujeet 2 роки тому

    Hey @CodingLab can you make such tutorials on react? Please make of you can 🙂

  • @DarkAngel9660
    @DarkAngel9660 2 роки тому +1

    Dude, can you make a sidebar with submenu and dark/light mode?😅

  • @gauthierr5513
    @gauthierr5513 10 місяців тому +1

    I'm blocked with the js script, it doesn't work for me ...

  • @namvbuddy1310
    @namvbuddy1310 5 місяців тому

    i dont know somehow I cannot change the color of the next and prev arrows buttons, it just doesnt work anymore i guess

  • @saiteja6225
    @saiteja6225 2 роки тому

    hi bro can u make a video "showing selected menu and submenu dynamically after page reload"

  • @tikka6554
    @tikka6554 2 роки тому +1

    is learning HTML, CSS,Js in future is good?

    • @AngelMikhael439
      @AngelMikhael439 2 роки тому +1

      Ya sure

    • @147Vasek
      @147Vasek 2 роки тому +1

      It's the basis, wothout it you cannot start to learn something really usual.

  • @maro__uane
    @maro__uane Рік тому

    Excellent video. Thank you so much. but when i host my website the picture don't show

  • @SquaredbyX
    @SquaredbyX 2 роки тому

    I just did the 1st one yesterday and had to update the slider js part by 2 lines missing from the video, I assume by the time that has gone by. Also had to add 1 level of nesting and give card its own space after swiper-slide.

  • @davidruiz-bw5mx
    @davidruiz-bw5mx 6 місяців тому

    amigo excelentu tutorial, pero en esta parte cuando lo quito funciona el automatico a pasar las imagenes, pero cuando lo dejo ya se detiene que problema hay ahi ?

  • @slimfit9605
    @slimfit9605 Рік тому

    hello, how to make filtering buttons that will list the people on these cards according to their city, district and profession? Can you make a sample video?

  • @dungar2852
    @dungar2852 Рік тому

    It's very useful but this not vanilla javascript use of framework and library method

    • @CodingLabYT
      @CodingLabYT  Рік тому

      here is the tutorial - ua-cam.com/video/6QE8dXq9SOE/v-deo.html

  • @feberxn9138
    @feberxn9138 2 роки тому +1

    I guarantee tNice tutorials - I am going to pursue soft one way or another. It is my dream to make art that inspires people and shows them so

  • @mayankdagar7
    @mayankdagar7 2 роки тому +1

    I want 3 sections with the same functionality, how to do it?? Also how to change the width of every card

    • @CodingLabYT
      @CodingLabYT  2 роки тому +1

      Duplicate the slide container three times. To expand the cards width, increase the slide container width

  • @waleefalrooh8
    @waleefalrooh8 Рік тому

    How can I make it look like this as when someone add a new name, description and pic using javascript and inputs?

  • @rida1576
    @rida1576 9 місяців тому

    when i took the colours grey and red out at the end the arrows disappeared how come?

  • @colinritchie5204
    @colinritchie5204 Рік тому

    If i want to copy and past multiple rows of these how could i stop the button from making all of them scroll

  • @wedsonpinheiro1518
    @wedsonpinheiro1518 2 роки тому +1

    Where agent finds that name in CSS. @import ...

    • @CodingLabYT
      @CodingLabYT  2 роки тому

      In my latest video,I have shown how to import fonts and icons.

  • @alejandrogonzalezalmazan218
    @alejandrogonzalezalmazan218 Рік тому +1

    my swiper-pagination at some point disappear and I dont know why :(

    • @CodingLabYT
      @CodingLabYT  Рік тому

      You can take all the source code from my website. Link is in description.