How To Make Ecommerce Website Image Slider with HTML CSS Javascript -EASY TUTORIAL

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024
  • How To Make Ecommerce Website Image Slider with HTML CSS Javascript -EASY TUTORIAL
    The purpose of this video is to help new web developers and programmers upgrade their skills when building websites using HTML, CSS, and Javascript.
    If this video helped you, please subscribe and like the video! It helps me out so much!
    Source code: github.com/dev...
    Tags:
    html ecommerce,ecommerce website design,how to make ecommerce website,html and css,image slider in html,product slider in html,product slider html css,product slider javascript,responsive product slider,product card slider html css,html,css,javascript,web development tutorial,web development,web development for beginners,front end development guide,html css beginners tutorial

ความคิดเห็น • 156

  • @christianalip9306
    @christianalip9306 2 ปีที่แล้ว +72

    Finally no library, no plugins just pure custom slider. Thank you so much!

    • @dev_ression
      @dev_ression  2 ปีที่แล้ว +7

      thanks for watching :)

    • @jimzontrangia4530
      @jimzontrangia4530 ปีที่แล้ว +2

      Same! This is the tutorial I'm looking too! Finally after 3 days of searching hehe

    • @AfroBantouDesign
      @AfroBantouDesign ปีที่แล้ว

      In the css file, I don't understand at which moment de class "collection-container and collection" comes in ! Pls could you help me ?

  • @YaseenAli08
    @YaseenAli08 2 ปีที่แล้ว +8

    I don't understand. where is class ="collection-container" and it's nodes, in HTML.

  • @AiannaWilliams
    @AiannaWilliams 21 วันที่ผ่านมา

    Thank you so much it worked! The only thing I'm having trouble with is getting my images to lay horizontally, instead they're stacked vertically. Could you help me fix that? I'm not sure what I missed.

  • @ranishkumar8398
    @ranishkumar8398 2 ปีที่แล้ว +15

    what is the use of ".collection-container", ".collection", ".collection img", ".collection p", ".collection:nth-child(3)" in style.css ?

    • @SK-ln6nm
      @SK-ln6nm 2 ปีที่แล้ว

      th-cam.com/video/9uIRO279HO8/w-d-xo.html

    • @icecreamre21
      @icecreamre21 ปีที่แล้ว

      i got confused too, like what is the purpose of this part in css? cause i dont see one that use in his html code. Please explain to me cause i am a new in here

  • @ImagineThatPuppets
    @ImagineThatPuppets ปีที่แล้ว +2

    Love that this is pure coding no plugs🎉

  • @statusboyss63
    @statusboyss63 ปีที่แล้ว +1

    hey there is no class called collection-container so why did he add that into the site?

  • @felikana5093
    @felikana5093 2 ปีที่แล้ว +2

    Thank you man ! Thanks to you I passed my bachelor

    • @dev_ression
      @dev_ression  2 ปีที่แล้ว

      Congratulations bro!

  • @Sammy-rs6cd
    @Sammy-rs6cd ปีที่แล้ว +1

    lol
    thanks a looot, this is the most simple yet the most efective solution I've ever seen

  • @AfroBantouDesign
    @AfroBantouDesign ปีที่แล้ว +1

    Pls when and where do you introduce a class named collection-container ?

  • @AbbaJi-gm4vc
    @AbbaJi-gm4vc 2 ปีที่แล้ว +2

    Thanks..!! But it would have been great if you spoke while writing the js part.

  • @khaileidoscope
    @khaileidoscope ปีที่แล้ว +1

    what's that collection container? does that do anything?

  • @danielrico3352
    @danielrico3352 2 ปีที่แล้ว +8

    Thanks for the video! It was very helpful! 👍👍
    Keep up the good work!

    • @dev_ression
      @dev_ression  2 ปีที่แล้ว

      No problem man, thank you for the feedback!

  • @mobilepiano8018
    @mobilepiano8018 ปีที่แล้ว +2

    You should explain this in details for beginers.

  • @roronoazr3252
    @roronoazr3252 ปีที่แล้ว +1

    nice vanilla js the best now we understand the code not like libs or framworks than k u so much brother

  • @devendraverma9147
    @devendraverma9147 หลายเดือนก่อน

    There is one element with classname pre-btn and nxt but in javascript you are doing like pre-btn[i]. It doesnt make sense at all

  • @michaelluislapak3787
    @michaelluislapak3787 3 หลายเดือนก่อน

    I have a problem when I copy the first carousel but the wnd one in the same html my scroll view is going down

  • @eoCaraLegalnaVoz
    @eoCaraLegalnaVoz 4 หลายเดือนก่อน

    thanks bro, finally i found the right video, THANK YOU!!!

  • @funterban6536
    @funterban6536 ปีที่แล้ว +1

    thank you, sir we want more projects, create with pure JavaScript

  • @kitingBadj
    @kitingBadj 2 ปีที่แล้ว +2

    awesome dude! very helpful, thank you! keep up the good work!

  • @patrykbogusz5251
    @patrykbogusz5251 ปีที่แล้ว +1

    It looks like You have defined .collection class in css but it's not in html, so it does not work

  • @pratik207
    @pratik207 ปีที่แล้ว +1

    Thanks bruh u saved my web project

  • @thaotruong7035
    @thaotruong7035 2 ปีที่แล้ว

    this is so great, make a product slider from scratch. thank you sir

  • @roshangeorge97
    @roshangeorge97 2 ปีที่แล้ว +2

    Cool production man!!want to see more..

  • @syedaligll7474
    @syedaligll7474 ปีที่แล้ว

    Worked thank you alot! you're the best bro liked

  • @manidalnaso
    @manidalnaso ปีที่แล้ว +1

    thanks brother with your code i finished a project thanks a lot

    • @dev_ression
      @dev_ression  ปีที่แล้ว +1

      Good to hear bro! Thanks for watching :)

    • @manidalnaso
      @manidalnaso ปีที่แล้ว +1

      @@dev_ression give a link for a small donation for caffe

    • @manidalnaso
      @manidalnaso ปีที่แล้ว

      i just started studying javascript and css i need help many times can i contact you privately ???

    • @aliansari799
      @aliansari799 ปีที่แล้ว

      bro do you understand why he uses collection in css although there is no class in css with collection

  • @facundodtd
    @facundodtd 2 ปีที่แล้ว

    dude, you know why in Chrome the slide transition when changing product is abrupt?, but in Firefox works correctly. Thanks for the video, it’s excellent

  • @moniquenavarro4131
    @moniquenavarro4131 ปีที่แล้ว +1

    Great projec, oww you really ROCK!

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      Thank you for watching :)

  • @nicolaspinheiro8315
    @nicolaspinheiro8315 ปีที่แล้ว +1

    It worked! Thank you from Brazil!

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      thank you for watching!

  • @zayyanusmani4717
    @zayyanusmani4717 2 ปีที่แล้ว +1

    Nice one Keep it Up

  • @AsmaKhan-qf6gd
    @AsmaKhan-qf6gd ปีที่แล้ว +1

    thank you so much bro for such an informative video

  • @fatimazahraelhichami1410
    @fatimazahraelhichami1410 ปีที่แล้ว +1

    This is very helpful ,thank you so much !

  • @king-Ola4987
    @king-Ola4987 6 หลายเดือนก่อน

    Hello sir, please I'm curious about something. The html doesn't have a class called collection-container and you include it in your css . Please I'm confused

  • @gabrielfernandez8975
    @gabrielfernandez8975 ปีที่แล้ว

    No hablo bien el idioma inglés, pero aun así pude entender perfectamente todo. Excelente vídeo, saludos desde Argentina.

  • @asrorfoziljonov
    @asrorfoziljonov ปีที่แล้ว +1

    thanks, the video tutorial helped me

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      Glad you hear, thanks for watching!

  • @itsEasy-Bro
    @itsEasy-Bro ปีที่แล้ว +1

    that's what i needed

  • @jackpre_
    @jackpre_ 2 ปีที่แล้ว +2

    just wondering if there is any way to make "containerDimensions.width" variable in the js to update when the screen size is changed. At the moment the slider moves the width of the page as of when it was first loaded.

    • @LordmkKING67
      @LordmkKING67 2 ปีที่แล้ว

      hey brother, did you find the solution to this perhaps?

  • @luczztem
    @luczztem ปีที่แล้ว +1

    that noodles looked good

  • @t3ntube357
    @t3ntube357 2 ปีที่แล้ว

    It is crazy how you are not using eslint error debugger, anyway good tutorial ♥

  • @pradumanpandey6065
    @pradumanpandey6065 2 ปีที่แล้ว +2

    Thanks bro.It was very helpful

  • @housamhegazy2928
    @housamhegazy2928 ปีที่แล้ว +1

    Thank you so mutch

  • @maciejka1
    @maciejka1 2 ปีที่แล้ว +1

    did you just uploaded .zip file to github?

  • @gayathriharsha5766
    @gayathriharsha5766 ปีที่แล้ว +1

    you are a legend. Thank you

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      thanks for watching bro!

    • @aliansari799
      @aliansari799 ปีที่แล้ว

      @@dev_ression bro do you understand why he uses collection in css although there is no class in css with collection

  • @gamerthegamer7652
    @gamerthegamer7652 2 ปีที่แล้ว

    Hey, great vid!
    But how can i change how much it "slides", say in a small screen, only 1 or 2 at the time, or enough to cover the screen

  • @yassirnasri4900
    @yassirnasri4900 2 ปีที่แล้ว +1

    keep up

  • @tabithajackson2184
    @tabithajackson2184 2 ปีที่แล้ว +8

    Where's the collection-container in the html file?😭😭

  • @Onionbagel
    @Onionbagel ปีที่แล้ว

    How does this work with an api? like with youtube api, and i have a bunch of images of thumbnails being called at once?

  • @fernandokarakanian6674
    @fernandokarakanian6674 ปีที่แล้ว +1

    nice content brother, helps a lot!!

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      I’m glad bro!

    • @fernandokarakanian6674
      @fernandokarakanian6674 ปีที่แล้ว

      @@dev_ression hey bro, can you help me to make the slider responsive on mobile?
      when i sroll to right or left, the slider runs too much.
      Do you know of a way to adjust how much it scrolls both left and right?

  • @syedimran3825
    @syedimran3825 2 ปีที่แล้ว

    Hi, Thanks for sharing this. Please help to share with mobile & cursor swipe scroll also.

  • @mohdjibly6184
    @mohdjibly6184 2 ปีที่แล้ว

    Thank you for sharing bro

  • @ZicoNadStarr
    @ZicoNadStarr 8 หลายเดือนก่อน

    Hei, Great Job!!! could i show to fetch post or items API to the slider? Thank :)

  • @4PXLZ
    @4PXLZ 2 ปีที่แล้ว +1

    i love it!! new sub

    • @SK-ln6nm
      @SK-ln6nm 2 ปีที่แล้ว

      th-cam.com/video/9uIRO279HO8/w-d-xo.html

  • @AzharTechnoCoder
    @AzharTechnoCoder 2 ปีที่แล้ว +1

    Nice one brother ....

  • @muritalamuideen1947
    @muritalamuideen1947 ปีที่แล้ว +1

    Thanks man. You really save my ass

  • @Chocolita49
    @Chocolita49 3 หลายเดือนก่อน

    Thanks 🤗

  • @missooahmed6607
    @missooahmed6607 2 ปีที่แล้ว +1

    Thanks alot

  • @sushantw834
    @sushantw834 ปีที่แล้ว +1

    Thank you.

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      thanks for watching :)

  • @dev_ression
    @dev_ression  2 ปีที่แล้ว +4

    Let me know what other tutorials you'd like to see!

    • @jobianstechie
      @jobianstechie 2 ปีที่แล้ว +1

      Full functioning website

  • @srbmusic1502
    @srbmusic1502 ปีที่แล้ว +1

    Very nice video 👍

  • @XIAOx
    @XIAOx 2 ปีที่แล้ว

    is there a version with this vertically?

  • @jimzontrangia4530
    @jimzontrangia4530 ปีที่แล้ว

    Thanks!

  • @itsdrawing5700
    @itsdrawing5700 2 ปีที่แล้ว +1

    It's also make with the help of bootstrap

  • @amritamazumder2656
    @amritamazumder2656 ปีที่แล้ว

    Hey thanks this is really helpful. One question, when I switch it to mobile view and the cards are all vertical, one on top of the other, what should I change or add in css so that the arrows come to the top and bottom of the container instead of left and right.

    • @RAJUBHAI-ww7em
      @RAJUBHAI-ww7em ปีที่แล้ว

      Arrange the elements of inner carousel basically cards using flex-box , flex-row

  • @MrAbbo11
    @MrAbbo11 2 ปีที่แล้ว +1

    thanks man.

    • @dev_ression
      @dev_ression  2 ปีที่แล้ว

      thanks for watching man!

  • @ianxven
    @ianxven ปีที่แล้ว +1

    thanks man

  • @anasmujeeb-tq3jl
    @anasmujeeb-tq3jl 11 หลายเดือนก่อน

    bro please tell me how can i make this slider responsive?

  • @virangjain2516
    @virangjain2516 ปีที่แล้ว

    Plz give the link of both arrow pic

  • @nikki3788
    @nikki3788 ปีที่แล้ว

    How would you make this an infinite loop?

  • @staceyross-duncan9742
    @staceyross-duncan9742 11 หลายเดือนก่อน

    I've followed this tutorial to a tee but can't get the product cards to sit in a row - they only display in a column. Any help?

    • @Chocolita49
      @Chocolita49 3 หลายเดือนก่อน

      Set your product-container to display flex.

  • @benogega2543
    @benogega2543 2 ปีที่แล้ว +2

    I tried everything but my slide doesn't work? Idk

    • @muhammaddelower5522
      @muhammaddelower5522 2 ปีที่แล้ว +1

      same

    • @ildikoedit9110
      @ildikoedit9110 2 ปีที่แล้ว +4

      TH-cam is full of fake tutorials, watch out. They upload some random crap to collect subscribers.

    • @dev_ression
      @dev_ression  2 ปีที่แล้ว +2

      @@ildikoedit9110 sounds like you’re doing everything except figuring out the bugs in your code 👋

    • @ildikoedit9110
      @ildikoedit9110 2 ปีที่แล้ว +2

      @@dev_ression I have already figured it out, thank you. But it doesn't change the fact that this code doesn't work.

    • @dev_ression
      @dev_ression  2 ปีที่แล้ว +1

      @@ildikoedit9110 I’m sorry you must be doing something wrong. If you watch the video, you can clearly see it does work.

  • @moremap
    @moremap 2 ปีที่แล้ว

    nice👍

  • @aliansari799
    @aliansari799 ปีที่แล้ว

    bro where is collection container

  • @okargbo1986
    @okargbo1986 ปีที่แล้ว

    check the source code, it not working.

  • @tejaspatel3680
    @tejaspatel3680 ปีที่แล้ว

    How to make it infinite??

  • @An-yh2bl
    @An-yh2bl ปีที่แล้ว

    Where is the collection class in your HTML? It´s confusing cause I can´t see it...

  • @alberkulicka954
    @alberkulicka954 ปีที่แล้ว

    For some reason it doesn't work in my case. I downloaded the css and js code from your github repo, but when I click any of the buttons, it just scrolls all the way to the end/start in a blink of an eye, so no transition duration :/

    • @zenintz8826
      @zenintz8826 ปีที่แล้ว +2

      Because you are not learning nothing, you shoulnd't just download some random code, learn how it works, then try it by yourself

    • @alberkulicka954
      @alberkulicka954 ปีที่แล้ว

      @@zenintz8826 Sry bro but first try to learn some basics of grammar, your comment doesn't make lot of sense

    • @zenintz8826
      @zenintz8826 ปีที่แล้ว

      @@alberkulicka954 I'm not native english speaker. It doesn't matter. Learn how to code, don't copy-paste, simple :) Dumba$$

    • @alberkulicka954
      @alberkulicka954 ปีที่แล้ว

      @@zenintz8826 Who cares about what you are? Learn it (same as your advice to my coding). Learn how to write, don't be illiterate, simple :) Sw€€ti€

  • @mindethereal6627
    @mindethereal6627 2 ปีที่แล้ว

    Please record more video teaching to share knowledge

  • @pixbug3359
    @pixbug3359 ปีที่แล้ว +1

    Legend

  • @parthdashore46
    @parthdashore46 ปีที่แล้ว

    clean

  • @hidaiasaidi7234
    @hidaiasaidi7234 ปีที่แล้ว

    please can you send me fil source code i don't know how i can get it

  • @hemantriffs
    @hemantriffs ปีที่แล้ว

    is this responsive?

  • @jellyhouse4034
    @jellyhouse4034 ปีที่แล้ว +1

    savior

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      Glad it helped you bro

  • @giorgijoxadze4178
    @giorgijoxadze4178 ปีที่แล้ว

    You never know how much you have in common with so people.

  • @ayushi4340
    @ayushi4340 2 ปีที่แล้ว

    Hey.. my pre btn doesn't work plzz help me out. I'm trying so many hours 😩😫

    • @SK-ln6nm
      @SK-ln6nm 2 ปีที่แล้ว

      th-cam.com/video/9uIRO279HO8/w-d-xo.html

    • @dev_troy8903
      @dev_troy8903 2 ปีที่แล้ว

      try:
      position: absolute;
      top: 50%;
      transform: translateY(-50%);

  • @sayendeepmahanty8141
    @sayendeepmahanty8141 2 ปีที่แล้ว

    Can you send me the js file by making it ts file

  • @williamshung7553
    @williamshung7553 17 วันที่ผ่านมา

    Colletions container WTF!!!

  • @benmoraes5511
    @benmoraes5511 ปีที่แล้ว

    5:44

  • @silencraft2670
    @silencraft2670 2 ปีที่แล้ว +1

    Activa windows porfa

  • @Ollala
    @Ollala ปีที่แล้ว

    it look like u copy past but with typing unless u are so good

  • @benmoraes5511
    @benmoraes5511 ปีที่แล้ว

    9:12

  • @prosenjeetsarker5262
    @prosenjeetsarker5262 2 ปีที่แล้ว

    What we need for web design just make a video

  • @CreativeCoLabAfrica
    @CreativeCoLabAfrica ปีที่แล้ว

    I liked the video up until where you didn't bother to explain where the .collection-container emerged from.😮‍💨

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      I'm sorry you feel that way. This is quite an old video, it may be worth checking out my updated slider video on my channel.

    • @CreativeCoLabAfrica
      @CreativeCoLabAfrica ปีที่แล้ว +1

      @@dev_ression Ok. Checking it out.

  • @thechoosen4240
    @thechoosen4240 2 ปีที่แล้ว +1

    Good job bro, JESUS IS COMING BACK SOON;PREPARE

  • @zickoxgamesaxr3828
    @zickoxgamesaxr3828 ปีที่แล้ว

    działa

  • @An-yh2bl
    @An-yh2bl ปีที่แล้ว

    This doesn´t work. It´s so bad to take time for such tutorials which just collect views and don´t work at all. I can do this with bootstrap but I wanted a tutorial which works with vanilla JS.

    • @dev_ression
      @dev_ression  ปีที่แล้ว

      Strange. When you download the code from GitHub, you’ll find it does in fact work :)

    • @An-yh2bl
      @An-yh2bl ปีที่แล้ว

      @@dev_ression I won’t download anything. Uploading a zip file to github is unnecessary. Poor quality of your work.

  • @sohamghosh461
    @sohamghosh461 5 หลายเดือนก่อน

    No one will ever understand your video

    • @dev_ression
      @dev_ression  5 หลายเดือนก่อน

      Wrong

    • @Chocolita49
      @Chocolita49 3 หลายเดือนก่อน

      I disagree! It's actually easy to understand if you know what you're doing😊.