Thx ! I stopped a video in the middle and I done the rest of the code alone, even functionality like removing items, then played video and realised that removing wasnt the part of this video LOLW :D
You Are Awesome , Great And Talented Teacher . i really watched Ur all video . i learnt lots of lots of new things . i have learnt javaScript . i am learning React Because of you .You do Explain Very hard code very easily and properly . thanks you so much bro . i always love to watch ur tutorial . i have happily subscribed Ur channel . You are doing fantastic job . god bless u. You are not just a Sir to me, you are also an inspiration Very few people have the power to educate everything beyond his knowledge . You do it pretty well.Thanks a lot dear Sir for continuously inspiring me to do my best. Thanks Sir for making my world so perfect. I am so lucky to have a Sir as wonderful as you are. We will always be thankful to you for all the hard work and efforts you have put in, for educating us
Thank you for this tutorial. Could you share it with the final code? I have some mistakes in app.js file and need to compare with correct one. Thank You!
Do you have a tutorial on how to keep my count of items in the cart when I move from one page on the website to the other? For example when I move from shopping area to home page.
Is it a good practice to add event listener to each and every item? I don't think it is. Rather add event to single item and bind the event to the target
I don't think it's a good idea to relay on a folder name - "img" to get the image name on 19:40 . If someon in the future change name of the folder to "image" for example, then code will be broken.
a little late, but you can try Web HTML Storage (there is loads of documentation online about it), it allows you to save data between pages within a session :)
Hi I was wondering if you have done the completed js-cart-setup I have found your shopping cart quite useful and it was a dream to load. Most things have worked and the layout was a dream to modify to my particular requirements. I have 2 problems. 1. The code for adding the items to the cart doesn't appear to work, it inhibits the cart toggle if I comment out the code the cart toggle function works, is there a fix for this? 2. I was hoping that you have completed the delete, checkout and clear cart functions and if it was possible to get this from you
how to add promocode/couponcode dynamically from backend using djangorestframework..can anyone help me on this? and how to include this api in js file?
Hey guys, I added rest of the features except checkout, if anyone is interested You can check it out at shimphillip.github.io/grandmas/ source code at github.com/shimphillip/grandmas
*******************URGENT DOUBT****************************** DOES BLCKCHAIN ONLY TRANSFERS MONEY OR IT STORES MONEY(BITCOIN) IF IT STORES DOES THE AMOUNT INCREASES ,(EX-WE KEEP MONEY IN BANK IT INCREASE IN INTREST AMOUNT) BUT THE CRYPTOCURENCY FLUCTES
Guys can somone explain me or give my link on key? Like I not understand in th-cam.com/video/q_TZhCWbS3I/w-d-xo.html (the and.img), i not understand that how he create item.img , where he find img, and where I can read about that more? Please if your know let me know, thanks .TM.
I think he is referring to the fact that he is looking for the image, the price, & the name for each item. Where as it would likely be better to grab the whole ul and store the data in JS so that you can refer to it quickly. This would be faster but more memory intensive. Situation A we ask the DOM/HTML for info on each independent item, situation B we ask for ALL info and then refer to it in JS.
Nooooo! Enough of these styles videos. @Coding Addict you can't have good engagement with your videos when half the code is already written. 100% follow along, or its a copy and paste tutorial. PLEASE, take the time and just do the CSS and HTML in your videos. It's so disheartening when code tutorials simply provide the completed code, and we just need to fill it in as we go along. Just like in school, the process of note-taking helps the brain remember the material. The active writing of code is what helps connect the dots in our brain. PLEASE!!!!!!!!!!! The video time should not be an issue, it's up to us to fast forward, pause and rewind. That being said, I think you are a great provider of code knowledge.
Thx ! I stopped a video in the middle and I done the rest of the code alone, even functionality like removing items, then played video and realised that removing wasnt the part of this video LOLW :D
Wow, I'm like learning stuff I never did with javascript while you are doing this. I have you subscribed.
its too much helpful and your method of coding are much understandable
You’re such a good hearted person sir
Really appreciate 🙃💝
By chance is there a video for the checkout process that takes all the items and displays it on another page with stripe and or paypal implementation?
You are an amazing teacher! Can you please do a backend version of this tutorial?
You Are Awesome , Great And Talented Teacher . i really watched Ur all video . i learnt lots of lots of new things . i have learnt javaScript . i am learning React Because of you .You do Explain Very hard code very easily and properly . thanks you so much bro . i always love to watch ur tutorial . i have happily subscribed Ur channel . You are doing fantastic job . god bless u.
You are not just a Sir to me, you are also an inspiration Very few people have the power to educate everything beyond his knowledge . You do it pretty well.Thanks a lot dear Sir for continuously inspiring me to do my best. Thanks Sir for making my world so perfect. I am so lucky to have a Sir as wonderful as you are. We will always be thankful to you for all the hard work and efforts you have put in, for educating us
Thank you for this tutorial. Could you share it with the final code? I have some mistakes in app.js file and need to compare with correct one. Thank You!
idk why... but I love your soothing voice.
You're amazing! Thanks for this video I'm making my project right now!
Do you have a tutorial on how to keep my count of items in the cart when I move from one page on the website to the other? For example when I move from shopping area to home page.
Then u hv to use the local storage
Watch "JavaScript Shopping Cart Tutorial" by Telmo Sampaio, he did it what you're asking for.
Cool project with real life functionality. thanks
Is it a good practice to add event listener to each and every item? I don't think it is.
Rather add event to single item and bind the event to the target
Yes
Yes through event bubbling.
where is the rest of the video? this helped me so much
lovely tutorial
how to make an alert if the product is already exists in the cart in dom
I don't think it's a good idea to relay on a folder name - "img" to get the image name on 19:40 . If someon in the future change name of the folder to "image" for example, then code will be broken.
As he mentioned several times, you should be getting the info directly from the database, not the DOM.
*Now, got it why everyone should finish **_w3schools_** first.*
Is it possible to perform the cart function and record it even if my products are in different pages?
ff
a little late, but you can try Web HTML Storage (there is loads of documentation online about it), it allows you to save data between pages within a session :)
Hi I was wondering if you have done the completed js-cart-setup
I have found your shopping cart quite useful and it was a dream to load. Most things have worked and the layout was a dream to modify to my particular requirements.
I have 2 problems.
1. The code for adding the items to the cart doesn't appear to work, it inhibits the cart toggle if I comment out the code the cart toggle function works, is there a fix for this?
2. I was hoping that you have completed the delete, checkout and clear cart functions and if it was possible to get this from you
btn.forEach gives error ... i tried following instead
Array.from(cartBtn).forEach(function(btn) {
btn.addEventListener("click",function(event){
console.log(event.target ) ;
}) ;
}) ;
Thank you so much brother
Thank you very usefull project !
Is there anyway that you can get the shopping cart button to stay the same on a website that has multiple pages?
Would've been nice to see some sort of check out integrations with let's say PayPal for example
Academind did a shopping cart using stripe for payment.
Excellent tutorial
21/02/2020
Hi sir, how to deploy the cart items to a database? and checkout process....
good practice video, thanks
it is so nice. and if you have a video that implements for bank system using android studio and SQLite i'm so happy. Thank you!
how to remove item sir?
that is Nothing works. Follow/copy letter by letter and nothing works.pls help me..
Thank You So Much Sir.........!!!!!!!!
hi, I have this error: TypeError: fullPath.indexOF is not a function and Im new on javascript, can you help me.
how to remove previous hard coded items from the cart? please help
Why you didn't do a tutorial from the beginning on exactly how to design that site from 0 ????
i think he has: th-cam.com/video/iggMxE7y6Uk/w-d-xo.html
this is a JavaScript tutorial not css and html it will be useful for you to do the css alone
how to add promocode/couponcode dynamically from backend using djangorestframework..can anyone help me on this? and how to include this api in js file?
Is amazing! 😎😎😘😘
where the arrow funciton ??
Can somebody plz provide me with code to implement custom search in this project.I wll be thankful.
When i click on aad to cart n on the cart nothing happens plzz reply asap
Hey guys, I added rest of the features except checkout, if anyone is interested
You can check it out at shimphillip.github.io/grandmas/
source code at github.com/shimphillip/grandmas
Thanks
Diyaar baan u ahay guaranteed mastarcard wixii aad iisoo dirtaan waan labixi
thank you
very well :) , thanks
js file is empty
Its not work.. only ,ain home page show..doesnt work add to cart..
i can confirm it works
*******************URGENT DOUBT******************************
DOES BLCKCHAIN ONLY TRANSFERS MONEY OR IT STORES MONEY(BITCOIN)
IF IT STORES DOES THE AMOUNT INCREASES ,(EX-WE KEEP MONEY IN BANK IT INCREASE IN INTREST AMOUNT) BUT THE CRYPTOCURENCY FLUCTES
Guys can somone explain me or give my link on key? Like I not understand in th-cam.com/video/q_TZhCWbS3I/w-d-xo.html (the and.img), i not understand that how he create item.img , where he find img, and where I can read about that more? Please if your know let me know, thanks .TM.
Nice!
the app.js is empty ...
lmao
9:56 Can someone explain this "better way" he's talking about?
I think he is referring to the fact that he is looking for the image, the price, & the name for each item. Where as it would likely be better to grab the whole ul and store the data in JS so that you can refer to it quickly. This would be faster but more memory intensive. Situation A we ask the DOM/HTML for info on each independent item, situation B we ask for ALL info and then refer to it in JS.
Thanks Sir ! #SarvagyaSagar
why don't you teach more how to clear the cart?
can any one suggest me or give me the good resources on woocommerce or shopify E-Commerce Store Development ?? I need it asap
Nooooo! Enough of these styles videos. @Coding Addict you can't have good engagement with your videos when half the code is already written. 100% follow along, or its a copy and paste tutorial. PLEASE, take the time and just do the CSS and HTML in your videos. It's so disheartening when code tutorials simply provide the completed code, and we just need to fill it in as we go along. Just like in school, the process of note-taking helps the brain remember the material. The active writing of code is what helps connect the dots in our brain. PLEASE!!!!!!!!!!! The video time should not be an issue, it's up to us to fast forward, pause and rewind.
That being said, I think you are a great provider of code knowledge.
exactly, I feel the same, I'm sure nobody who might have copied from this project, would remember a single thing after a month
I can't understand his voices
I have trouble understanding him too lol
its jquery
At 13:46 - 13:47 you can hear a fart...
so more words
I can't understand what he says. Voice and instructions are so unclear.
Please fix your voice...
Thank you