Build a React Image Slider Carousel from Scratch Tutorial

preview_player
Показать описание
Learn how to build a React image slider carousel from scratch in this beginner tutorial. You will be able to navigate through the image slideshow using left and right arrows. We will use react hooks to create this project.

Timeline:
0:00 What we are building
0:41 Creating React App
2:27 Creating Project Files
3:16 Creating Slider Data
6:13 Displaying Images
13:22 Adding CSS

Access Source Code

If you want to follow me along my coding journey, be sure to subscribe :)

Additional Videos
Creating 3 different react navbars

Build React Website Using Smooth Scroll

Build a React Gatsby Travel Website
Рекомендации по теме
Комментарии
Автор

I thoroughly enjoy all your React content. your channel has helped me grow my skills and I thank you for all the free value.

jrqrq
Автор

Dude anything I search for by myself you're the first one to pop up to show me how to do it! Great contect big BIG thanks, everything looks amazing

jokeyDavid
Автор

Thank you so much for this tutorial, exactly what I was after and as a novice React user, very straightforward and easy to follow.

elvosparsley
Автор

Amazing the use of React State Hook's, Thank you Brian!

michaelariasfajardo
Автор

I recently struggled making a React app, and thanks to this tutorial video, I have learned new ways to build it.

許潤璋
Автор

Thank you @Brian Design, just one ques, why did we need to use map here, can't we just render picture <img /> something like that?

deepaknegi
Автор

Just a tip, if you want next slide you can use (currrent+1)%length and prev slide (currrent-1+length)%length

italovinicius
Автор

Brian, thanks for your content, man! Good stuff! :)

fhkodama
Автор

Thank you so much for this easy way to create slider (love from India)😍😍😍😍😍😍😍

AarviJain-vm
Автор

Man You did it perfectly Thanks mate !!! Super Pumped ::)

mathanjeya
Автор

Thank you. Anyone who wants to make it swipeable use the react-swipeable library.

sohamvishwas
Автор

Thank you so much for the video ! Well explained, easy to follow, it works perfectly

camillerungette
Автор

Had to render the component instead of just using component since I was using Router, but this tutorial helped a lot. Thanks!!!

eprisrichardson
Автор

So helpful and easy to follow. Thanks!

Rmgildea
Автор

Thank you so much for this! I was able to recreate this for my site in about an hour cause of this video!! I used a class component instead of react hooks!

MsHappygirl
Автор

Made it so easy to understand, thank you so much!!

cbanop
Автор

hi! great video by the way! I was wondering how could I change this line to create a styled component for it:  
<div className={index === current ? 'slide active' : 'slide'} key={index}>
{index === current && (<Img src={slide.image} alt='travelimage'/>
)}
</div>
the div and classname are throwing me off I got the Img to work on my styled component but I can not seem to get the ease and opacity things to work at the end thank you!

paulinaalejandrasarquis
Автор

Really u are the best giving nice lecture in react js .... i am requesting you to continue this series.. Thanking You i Really inspired on you

nerdwebtutorial
Автор

most articles recommended just use some external component for this purpose. but here there is a simple solution! 👍

aminmeraji
Автор

Keep it like that, thanks for what you do

alimkhanfthl