Shopping Cart | React.js Project with explanation | Beginner

  Рет қаралды 49,816

Code For U

Code For U

Жыл бұрын

Hello,
This is Shopping Cart Project.
In this project I used
useState()
useEffect()
functional component
uplifting concept
diff b/w npx and npm
Github - github.com/Ankit8969/react-sh...
Data File - ide.geeksforgeeks.org/f5b8210...
#react #project #webdevlopment #html #css

Пікірлер: 47
@Igor-vk8fl
@Igor-vk8fl 7 күн бұрын
Straight to the point and simplified. Perfect for beginners. Thank you so much.
@pauladelowo7802
@pauladelowo7802 2 ай бұрын
I really enjoyed your tutorial! I learned a lot from it. One thing I noticed is that when users add items to the cart and refresh the page, the cart empties out. It would be great if the items stayed in the cart even after refreshing, making the shopping experience smoother. You could achieve this by using local or session storage. Thanks again for sharing your knowledge!
@lilshrimp-eb1qc
@lilshrimp-eb1qc Жыл бұрын
thank you. this is very simple to understand not like the other 50 useless tutorials i watched
@tanmayhedau5342
@tanmayhedau5342 Жыл бұрын
Awesome video bro please make more such small projects videos on react and even on mern stack under 30 mins or 40 mins whatsoever.. please it's a request
@slader_2027
@slader_2027 Жыл бұрын
Thank you. I would like to see a video where you make a choice for this mini online store by product category
@sufianrahim5185
@sufianrahim5185 Жыл бұрын
Thank you, good presentation!
@WildJauntWithRizwan
@WildJauntWithRizwan 8 ай бұрын
@itaymeir100
@itaymeir100 11 ай бұрын
thank you bro, it's helps me a lot with my study
@juleeroy2712
@juleeroy2712 11 ай бұрын
Thank you ..its a nice video good explanation
@infinitystudiosss
@infinitystudiosss 11 ай бұрын
You saved a lot of time of mine, I've been stressing a lot bcz of cart functionality not working on my project, thanks a lot again
@mrtherapy309
@mrtherapy309 5 ай бұрын
Thanks so much bro. works like a charm
@aniketgupta1577
@aniketgupta1577 Жыл бұрын
sir this is really good and well manner to teach a react principles to build any application nd plz create one more video of ecommerce website in react without using background song .... build with ur proper explaination and im subscribing ur chanel
@codeforu4446
@codeforu4446 Жыл бұрын
Thank you Aniket
@happypundir825
@happypundir825 Жыл бұрын
Sir , how to add more product variants in this single cart
@20_omkar_kadu57
@20_omkar_kadu57 Жыл бұрын
amazing for beginners
@codeforu4446
@codeforu4446 Жыл бұрын
Glad you think so!
@Larissazzzz
@Larissazzzz 10 ай бұрын
Thank you so much! ;)
@SouvikDas-fs7ii
@SouvikDas-fs7ii 12 күн бұрын
Program run karne ke bad "item is undefined" bata raha hain so kyaa karu sir?? 😅😅😅😅
@duraimurugan3837
@duraimurugan3837 Жыл бұрын
keep rocking..
@codeforu4446
@codeforu4446 Жыл бұрын
Thank you
@prasunapattem9002
@prasunapattem9002 Ай бұрын
hi sir, for me this type of error came sir " item is not defined". kindly reply
@rnawab7455
@rnawab7455 10 ай бұрын
❤❤❤❤
@jadigerturganbaev3473
@jadigerturganbaev3473 Жыл бұрын
Thank you! Great Job!
@a.p.p623
@a.p.p623 Жыл бұрын
thank you for lesson
@codeforu4446
@codeforu4446 Жыл бұрын
Thank you
@MuhammadUsama-de8ym
@MuhammadUsama-de8ym 2 ай бұрын
sir thori screen zoom hoti to humyn kuch idea hojata apny kia code likha ha
@amolpawar1089
@amolpawar1089 3 ай бұрын
If we have limited stock of some products how can we mange with quantity????
@azlanmalik7606
@azlanmalik7606 4 ай бұрын
Good sir what type of developer would you? ❤
@RaviKiran-lg2bq
@RaviKiran-lg2bq Жыл бұрын
Sir, what to do if we have to generate an popup or alert, if the products in cart is more than 5
@RaviKiran-lg2bq
@RaviKiran-lg2bq Жыл бұрын
Please respond sir.., where I have to use the if else
@codeforu4446
@codeforu4446 Жыл бұрын
@@RaviKiran-lg2bq create a new alert message and place that where you want to see by using css and by using state you can show
@rabeehMadathil001
@rabeehMadathil001 Жыл бұрын
thank you so much
@codeforu4446
@codeforu4446 Жыл бұрын
You're welcome!
@aynurabliz2239
@aynurabliz2239 Жыл бұрын
I followed every detail but some functions not working. for example the remove button work but price calculation part not working.😔
@codeforu4446
@codeforu4446 Жыл бұрын
Bro, it should work, I also attached my GitHub code in the description you should compare it with your code
@saranyasingh6847
@saranyasingh6847 Жыл бұрын
@@codeforu4446 I compared my code with your github code.Its same but still total calculation thing is not working , Can you please it again and help fix it
@haibova_irisha
@haibova_irisha Жыл бұрын
Thank you.!!!!!!!!!!!!!can u make video using ts ,RTk ,RTK query ?
@codeforu4446
@codeforu4446 Жыл бұрын
sure, I will
@taufanaziesamudra8325
@taufanaziesamudra8325 Жыл бұрын
Thanks brooo
@codeforu4446
@codeforu4446 Жыл бұрын
Welcome
@animedevilreaper3693
@animedevilreaper3693 9 ай бұрын
bhai code thoda zoom kar deta 😥
@rjramu6676
@rjramu6676 10 ай бұрын
Item.price * item.amount -> nan ???
@codeforu4446
@codeforu4446 10 ай бұрын
try to convert to Int and then calculate or may be price or amount got undefined, because of this you are getting NaN please check once
@user-pw5jn5sr6s
@user-pw5jn5sr6s 10 ай бұрын
bhai mic ko thoda muh se dur kr le
@codeforu4446
@codeforu4446 10 ай бұрын
Ok, next time will take care
@user-pw5jn5sr6s
@user-pw5jn5sr6s 10 ай бұрын
@@codeforu4446 thank you
How to open a can? 🤪 lifehack
00:25
Mr.Clabik - Friends
Рет қаралды 12 МЛН
Uma Ki Super Power To Dekho 😂
00:15
Uma Bai
Рет қаралды 33 МЛН
Glow Stick Secret (part 2) 😱 #shorts
00:33
Mr DegrEE
Рет қаралды 22 МЛН
Her Birthday Was Ruined 😰😩 He Created A Trap For Her🙀
00:40
Giggle Jiggle
Рет қаралды 5 МЛН
All The JavaScript You Need To Know For React
28:00
PedroTech
Рет қаралды 530 М.
I randomized every block's code in Minecraft..
10:38
Element X
Рет қаралды 163 М.
Live Coding a Shopping Cart using React
31:32
Web Dev Cody
Рет қаралды 76 М.
I Made 200 Python Projects...Here Are My 5 FAVORITES
11:23
Tech With Tim
Рет қаралды 111 М.
React Shopping Cart in 2022 || Using Hooks and React Router
50:42
Code&Coding
Рет қаралды 119 М.
How to open a can? 🤪 lifehack
00:25
Mr.Clabik - Friends
Рет қаралды 12 МЛН