Build React Image Slider From Scratch Tutorial

Поделиться
HTML-код
  • Опубликовано: 10 дек 2024

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

  • @MonsterlessonsAcademy
    @MonsterlessonsAcademy  2 года назад +8

    WATCH NEXT: React Interview Questions and Answers - Dominate Your Next Interview - ruclips.net/video/yQHr4opz_N0/видео.htmlsi=51b2XP_84GH3q6oF

  • @mathildedescamps4049
    @mathildedescamps4049 2 года назад +32

    This is exactly what I was looking for ! Most people use a library for their sliders, so it was pretty hard to find a pure react slider tutorial.
    Well explained, and simple. Thank you sir ! :)

  • @nehanagda8888
    @nehanagda8888 Год назад +2

    I am making photo album project using react and I was looking for the same thing to show images of my album. Thankyou so much for this video. It is really helpful.

  • @NiceChange
    @NiceChange 10 месяцев назад +1

    You created a perfect video for devs, straight forward, easy to understand, easy to watch. Great work. This also made me chuckle because as you demystified the code, it became clear and excited to implement. Thank you.

  • @xPat99
    @xPat99 4 месяца назад +1

    Perfect thank you so much ! I didn’t want to use any external library and this is exactly what i needed

  • @LalitKumar-w7m8j
    @LalitKumar-w7m8j Год назад +3

    literally you're awesome. thank you so much dude

  • @curesnow6493
    @curesnow6493 11 месяцев назад +1

    I was about to use Bootstrap’s image slider component until I found this video! Thank you for your informative video ! Like and subscribed ❤

  • @ak-loz
    @ak-loz 2 года назад +4

    Well done. Seriously.
    THANK YOU for making this simple and to the point.

  • @quadee244
    @quadee244 2 года назад +2

    when you’re in the channel rack, click on gms to open up the gms nu, in the light blue screen on the top left look where it says

  • @adria3439
    @adria3439 2 года назад +3

    Thank you for the tutorial, very clear and straight to the point

  • @Jeireme
    @Jeireme 2 года назад +4

    Thank you, your tutorial is very easy to understand and that's perfect for React beginners like me!

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

    BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY MUCH!

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

    A lesson in one breath, I thought you would be short of air. )) Great job! I spent so much time looking for dotted pagination with arrows. But as soon as I started to look for a slider with pics and arrows, I found your video. Thank you! Well explained.
    My like and subscription. Keep doing, sir!)

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

    Excellent work, very clear and easy to understand. Thank you very much. I will keep watching your channel and will definitely recommend you.

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

    Great tutorial. Many thanks.

  • @dankorse
    @dankorse 2 года назад +2

    Unbelievably easy to follow. Great tutorial. Good and clean explanation. Thank you so much

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

    Without you, my soft wouldn't be possible.

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

    Thanks for your easy to follow explanations, one step at a ti. It makes learning less overwhelming!

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

    Brilliant. Simple and easy to understand.

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

    Great job!
    Neatly explained.

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

    with it in a few weeks or months if I pour enough ti and effort into it. I'll be watcNice tutorialng many more of your videos for tips and inspiration.

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

    Thanks Monsterlessons, you did a great monster job here. I'll looking out for you videos.

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

    great! about to find several slider in react and hard to customize but find solution from scratch!! awesome bro

  • @viniciusm.m.7822
    @viniciusm.m.7822 2 года назад +2

    THANKS, MAN!
    God bless you!
    Forte abraço do Brasil!!!

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

    Thank you so much! I can not wait to start setuping. I want to create original soft for comrcials and shows alongside my many other

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

    simple but very useful, this was the one of the best videos so far. Thanks)

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

      Thank you!

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

      There are so many best tutorials in Yt. It would be better if we can make the slider slide automatically. That's a more popular feature.

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

      @@robbinluo2810 yeap, but I've build that feature on my own

  • @turabinamdeger1847
    @turabinamdeger1847 6 месяцев назад

    Thank you so much for the tutorial. This video was very useful for many of my projects. :)

  • @-bongodrum-4963
    @-bongodrum-4963 2 года назад

    Great tips!! I'll def check out more of your videos. Just started writing and making soft. I feel soft softs will help get to the next

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

    🙏🏼🙏🏼 my guy saved me like 5 hours

  • @AutumnRed
    @AutumnRed 2 месяца назад

    finally someone who just shows how to make a slider without having to install a third party library, I find devs have become so lazy lately, installing libraries for every single new feature is such a bad practice in my opinion. Thanks for this tutorial

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

    TNice tutorials was an amazing tutorial. You are a great teacher

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

    Thanks a lot for this awesome tutorial

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

    Thank you very much for this tutorial, Great work!

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

    I took two months to learn Adobe After Effects and Premier Pro. Now I am learning soft soft to make soft so I can have more verity

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

    TNice tutorials is going in my helpful tutorials playlist.

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

    Thank you so much! Request you to please update this to animation slider so it moves smoothly back and forth

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

      Hi there is no planned updated to this video but I can recomment you to look on animations in css to implement that.

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

      @@MonsterlessonsAcademy Very Nice and concise tutorials

  • @geocitw
    @geocitw 2 года назад +3

    How to replace url by src ? it is possible ?

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

    and i wish you good luck with your future endeavors ❤

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

    Thank you Sir! TNice tutorials helps alot !

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

    awesome as always

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

    confused when i downloaded and opened soft soft . I couldnt find any good and informative video for beginners to help

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

    Damn! Worked like a charm! Thank you soooo much!

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

    If you're a complete beginner to soft production then soft is imo the easiest daw that you can get, I started off with it.. If you have a little bit

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

    Don’t be afraid, just embrace it.

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

    that's a called step solver! 🤩🤩🤩

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

    Great really helpful n easy to understand

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

    concepts finally line up in my brain and...well, who knows? Maybe I'll be able to make sotNice tutorialng now.

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

    Thanks for the tutorial , it's really helpful.

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

    Thanks! It is a very good tutorial 👍

  • @12stem-lamundaoruztomk.92
    @12stem-lamundaoruztomk.92 2 года назад

    Will stay tuned to your channal! Cheers!

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

    This was one of the best tutorials i ever seen !! Thank you very much sir, i just subscribed.
    One last question, can you tell me which theme you use ? And if its available in vscode ?

  • @KirstenM-o8n
    @KirstenM-o8n Год назад

    This worked for me im using Create React App.
    For the image use the same url he uses and just replace the image name with the name of your image. That was the only thing i got confused about

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

    Thanks a lot. TNice tutorials video got started.

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

    Thanku I was so worried becoz my slider is not working bur after watching your video it becomes simple plz
    Also make a video to add carousel in slick slider

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

    Thank you so much!!! Straight forward

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

    Thank you so much, man, saved me here

  • @MohamedAhmed-tp2qq
    @MohamedAhmed-tp2qq 11 месяцев назад +1

    img url didn't render
    what should i do?

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

    Thanks this video is very helpful ☺️😊

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

    That was great, thank you!

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

    Thank you.
    Do you prefer in-component styling over a css external file?

  • @NikhilSingh-sl1cx
    @NikhilSingh-sl1cx Год назад

    Very helpful content.....Thanks

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

    THANK YOU SIR, YOU ARE FANTASTIC!!

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

    GREATEST ONE EVER !

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

    It worked! Tank you sir.

  • @rashabaroudi5485
    @rashabaroudi5485 9 месяцев назад

    Very very very useful thanks a lot

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

    Awesome work! How do you build the same carousel but with autoplay? I want to build a ticker tape with infinite scroll/autoplay but with arrows

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

      Stay tuned, part 2 comes in 2 weeks.

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

      @@MonsterlessonsAcademy Thank you so much for this video tutorial. Looking forward to part 2 👍🏻

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

    Great Video but in my slider next arrow make problem .... after the third slide it is redirect to blank page...i donot know why ... i follow each and every step.

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

    thank you soo much for this tutorial, i love your explaination

  • @Лемми-ц8ш
    @Лемми-ц8ш Год назад

    Thank you so much, you just saved me.

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

    Great tutorial , thx

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

    Thanks Mike!

  • @zezo-ni9lq
    @zezo-ni9lq 2 года назад

    Your so detailed ! SUBBED

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

    You can't vicariously experience sotNice tutorialng through another person, the sa way you need to try it for yourself before losing hope.

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

    Thanks from Mali !

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

    Thank you for sharing your knowledge :)

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

    Great content as always please in the future we need some angular mini projects and ideas please and thank you

  • @NamNguyen-oz8uj
    @NamNguyen-oz8uj 2 года назад

    Great content again, thank you very much 🎉

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

    wow so clear and understandable thanks

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

    Thank you so much brother!

  • @Monicaslessons-vt7hs
    @Monicaslessons-vt7hs 5 месяцев назад

    big thanks its really usefull for me

  • @aryansinha1818
    @aryansinha1818 14 дней назад

    Thanks a tonne man

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

    Thanks, really helped

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

    Thank you very much for this tutorial, but I'd like to know how to make the carousel with imported images

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

    great tutorial.... Please is there a way for one to add some transition effect to the carousel?

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

      The advanced features in a slider comes as a new video soon. Stay tuned.

  • @totalement-food
    @totalement-food Год назад

    thank you so much, great job

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

    DUDE, I got so frustrated 'cause of that problem, thanks a lot!

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

    Hi there, nice tutorial. By the way, what is theme you are using?

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

    Perfect thanks !

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

    Great video! I only want to ask, is there a way (without removing the arrows and goToNext or goToPrevious functionalities)
    to include a functionality for an automatic slider, so that each image can be shown for, lets say, 2 seconds and then it automatically changes to the next one? And if that can be done, in a way it suits you based on how you have built the whole thing, could you pls make an updated video for that?

  • @pokerabend1
    @pokerabend1 3 месяца назад

    Really good content, just one question came to my mind. Why didn't you use a css file and className? I personaly find it more tidy and easier to maintain on the long run if I need to change something from the design perspective.

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

    you are awesome
    thank you so much!
    can you give more info about how to use ({slides})
    Its like straight props, without keyword props

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

      You are welcome! slides is just props which we destructure directly in slides variable.

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

      @@MonsterlessonsAcademy THIS MORNING I MANAGED TO DRAW A PICTURE USING THIS METHOD state.flickr_images.length - 1
      But the code is not saved and I'm trying all day to figure out how I did it
      ({STATE}) as a destructuring property
      now for some reason the image is not rendered no matter what i do
      Clarification: is the image being rendered here in your application? state.flickr_images.length - 1
      Thanks

  • @domenicocucinotta2720
    @domenicocucinotta2720 3 месяца назад

    Will this be by default working swiping with a phone? Or just by clicking on the arrows?

    • @MonsterlessonsAcademy
      @MonsterlessonsAcademy  3 месяца назад

      Clicking on the arrows with work on phone but swipe not. You need to add this functionality.

  • @LifeHappy-
    @LifeHappy- 2 года назад

    Good video, thanks.

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

    Nice video. such as This videos will be very helpfull

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

    thank u soo much it helped a lot

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

    const slideStyles = {
    width: "100%",
    height: "100%",
    borderRadius: "10px",
    backgroundSize: "600px 600px",
    backgroundPosition: "center",
    backgroundRepeat: "no-repeat",
    };

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

    using soft, can't wait to get my hands on it.

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

    Thanks for this tutorial.
    Can you please tell me how to implement animation for this slider?

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

      The advanced features in a slider comes as a new video soon. Stay tuned.

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

    Thank you! Here's a request from ! Can you please make a tutorial on how to record your actual tutorial and input your own soft

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

    Great tutorial! Really helped me create a slider from scratch! However, how do you make the dots active, so that the user knows which image they clicked on? For example, the dot that they click on turns red from black?

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

      you have an active index so just apply a class to the dot if the index equals active index