Build a Shopping Cart with JavaScript - Project Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

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

  • @askholia
    @askholia ปีที่แล้ว +38

    I love when teachers are both meticulous about details but also able to keep you seeing the bigger picture throughout the project. Great class!

  • @dummytcs5207
    @dummytcs5207 ปีที่แล้ว +58

    This video is not just about JS Shopping cart. Trust me This guy cleared HTML , CSS and JS concepts. Great Tutorial sir. Thanks a lot🥰

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

      @HackX Sure sir, It will be very helpful
      to understand the core concepts of JS

  • @anutarobert3022
    @anutarobert3022 ปีที่แล้ว +6

    Thanks! This is a trully small way to express my gratitude for this video!

  • @Joshua-xo5vw
    @Joshua-xo5vw 2 ปีที่แล้ว +54

    Not only is this tutorial technically good the instructor's passion is infectious and is a breath of fresh air, outmost pleasure to watch and follow along

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

      This guy's energy is awesome. Loving it.

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

      He is teaching this to people who don't even know to make simple website with HTML & CSS(He even shows how to open vscode, how to start a project). No one recommends to do that. He should have said we need the knowledge of HTML & CSS from the beginning. Otherwise this is a waste of time for everyone.

    • @buk-ola01
      @buk-ola01 ปีที่แล้ว +1

      @@Gaming_Baasu_99 Is the Guy good ? Yes

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

      @@buk-ola01 Unfortunately that's not enough for viewers

    • @buk-ola01
      @buk-ola01 ปีที่แล้ว +2

      @@Gaming_Baasu_99 He cant satisfy all the viewers actually🙃

  • @MarkedOne98
    @MarkedOne98 5 วันที่ผ่านมา +1

    To anyone that doesn't get the same output at around 1:09:10 , you can get it this way:
    let increment = (id) => {
    let element = document.getElementById(id);
    console.log(element);
    }
    I have no idea how he does it without getElementById...

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

    Laughing to myself when he says"Very simple guys very simple". Thank you for helping me feel that JS is not just a big beast but also very enjoyable. LOVE Free Code Camp.

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

      I watched this video 2 years ago and it was just spaghetti to me.
      But I've been studying JavaScript and CSS for the past 2 years and it's not bad.

  • @BrentElisens
    @BrentElisens 2 หลายเดือนก่อน +1

    Possibly the best JS, HTML, CSS tutorial I have seen. Also, his passion and energy about it are awesome.

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

    THIS is by far THE BEST tutorial on TH-cam! It was a LOOOONG day BUT everything works! Thank you SOOOO MUCH!!! ♥

  • @snm-v2
    @snm-v2 2 ปีที่แล้ว +1

    Today onwards im completed this successfully..... I started 1 week ago..... ❤️ from Kerala, India

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

    Great tutorial , great to see a more advanced project explained so clearly.

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

    If you're struggling at 1:46:40, it should be == not ===.
    That's what worked for me at least.

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

    Thank you, Joy, you're one of the best teachers on the web!

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

    it was such huge experience front end developing , u are totally comfortable and easily undrestand

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

    For somre reason Individuals of Indian decent have a talent of teaching and breaking down conmplex topics. My electrical engineering was saved by such tutiorials. Like if you agree?

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

    Your a GENIUS! Thank you very much,You fix real world problems for millions around the world that you don't even know!From Canada,with love ..THANK YOU!

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

    At 44.18 you aligin 2 buttons with the parent of div buttons , price-quantity, it works relatively well because the height of price.quantity es automatic, but the buttons are contained inside of another div which is button, when you do it there the get directly centered.
    Don't get me wrong this course is just the best I've found out there for this particular task.
    thank you very much.

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

    If you kept it going till now you have all the respect that I can give

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

    This video is absolutely amazing. The way the instructor explains everything is so clear!

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

    This is the best Javascript Tutorial on shopping cart, i never expected it to be this clear

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

    this video is good he explains everything in detail and describes how it works and its function. highly recommended for beginner

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

      i had faced problem in making the + and - sign to right side . the way its shows in video is not working. pls if possible help ?

  • @vasuchourasia8021
    @vasuchourasia8021 10 หลายเดือนก่อน +1

    Successfully completed 🫡 Thank you so much Sir🙏

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

    Joy, Your passion for teaching shows in all of your videos. I would like to see more of your content here

  • @bensonbenson4149
    @bensonbenson4149 10 หลายเดือนก่อน +1

    Just three minutes into the video I I picked stuffs that has helped me in different projects
    .. great video

  • @InnoceptHub-mo9et
    @InnoceptHub-mo9et 3 หลายเดือนก่อน +1

    Best tutorial. There are thousands of such videos but this one is spot on. Only with this kind of examples, one can learn JavaScript logic and functions easily. Hats off man. Expect more tuts like this

  • @AmandeepSingh-cv5qz
    @AmandeepSingh-cv5qz 2 ปีที่แล้ว +2

    "there you go.....you see...?"......absolute beauty brother

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

    Joy talks so fast, that I don't have to change the setting to 1.25 speed (which is not a bad thing. Perfect for this ADHD developer). Awesome tutorial.

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

    Thanks Joy!!, This tutorial is very clear and i love the way you actuallt go into detail about such things as shortcuts, i cannot summarize all i have learnt, however I can very very confirm that i am just that little closer to being a developer. Thank you

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

      i had faced problem in making the + and - sign to right side . the way its shows in video is not working. pls if possible help ?

    • @JorgeRivera-rp1zw
      @JorgeRivera-rp1zw 2 ปีที่แล้ว

      Hi, I was following Joy and the - And + buttons only run with internet.
      But I did my own buttons to perfomace with out internet:
      -
      +
      This buttons carry out a grate run..!
      Hope you can do it otherwise let me know..!

  • @workout.trending
    @workout.trending 2 ปีที่แล้ว +2

    this guy is the best dev they way he explains is great thank you bro keep the good work as a learner i really did learn much from you, legend

  • @breoutside
    @breoutside ปีที่แล้ว +3

    Wow! Joy taught so much about the keyboard shortcuts for CSS alone. This was amazing.

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

    this is like the best video tutorial I have seen on JavaScript . Thank you for taking your time to explain , things are a lot clearer to me now .❣

  • @ShreyasJani
    @ShreyasJani ปีที่แล้ว +6

    Hi Joy, I just wanted to mention that the body tag by default will have the position: static as the default property. Very good tutorial. Cleared many of my concepts. Thank you for teaching shortcuts as well.

  • @NguyenLong-ob9fc
    @NguyenLong-ob9fc 2 ปีที่แล้ว

    I am currently studying your course, but I have to stop and write this comment to thank you for your dedication in order to break everything difficult to so easy to understand

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

    You have won my subscription. I was able to pick up many things from you. Special thanks for your detailed explanations. Step by step very easy to understand.
    I hope you will stream more valuable projects.

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

    No one would have taught better than you Joy. Hats off

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

    Wow, Thank you, Joy. You explained JS in such a way that I had my moment of understanding at long last. You are brilliant at teaching.

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

    great tutorial i just completed mine and everything is working perfectly .Thank you so much for all your effort and time God bless you sir.

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

    One of the best tutorials ever! A very detailed one, Everything is explained clearly.

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

    Although I'm not done with the tutorial, the explanation is very clear, keep up the good work, hope you get to work more :)

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

    hey man good job, smoth language is to understand, telling things again and again, so much helpful and easy to lean thanks

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

    Joy is a great teacher thank you so much

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

    by far the best tutorial on youtube when it comes to javascript. Well explained

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

    The error at 1:23:45 can be fixed changing the if inside the decrement function
    Was: if (search.item === 0) return;
    Try: if (search === undefined || search.item === 0) return;

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

      This is a very old trick in js. He should have known this but maybe he has forgotten it.

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

      seemingly "search === undefined" has to be the first of the two expressions, is there a reason for that?

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

      @@ki11erkittie in this case If I don't have an object in first place, why bother to check if the item amount is equal to 0

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

      @@maf6695 I understand the efficiency aspect of the order but before I saw this solution I came up with the same thing however I placed the expressions in reverse order. I believed the order of expressions wouldn't effect the logic of the or gate, however the way I set up the statement wasn't working and the only change I made to get it to work properly was by changing the order of expressions as was set up here. I don't understand why that is, potentially there was a mistake i missed in my code before i switched the order, when I'm able to get back to the problem I'll attempt to recreate the issue I found.

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

      @@ki11erkittie In this case it really shouldn't mater the order of the conditions, try debugging with a few breakpoints

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

    i tried to make that project from scratch by myself, before watching how the tutor did it. Its work as it must, but i have like in 10x times more code then teacher. Dam't, on the one hand i'm glad that i did it, but from the other - upset couse spend to much time and wrote a huge mess with code

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

    One of the best tutorials I have ever come across!! I'm definitely subbing to this dude's channel.

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

    This is the best team

  • @amrmohamed3219
    @amrmohamed3219 22 วันที่ผ่านมา

    easy && simple Explain => Best shopping Cart Tut 😊👍

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

    this is the best course I've ever seen online I followed it till the end.

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

    The best video on TH-cam for creating this

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

    Wow this guy is amazing very knowledgeable with such a clear explanation

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

    I hope everyone finds this helpful

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

    I appreciate that you made this tutorial viewable by mobile viewer like me..

  • @JorgeRivera-rp1zw
    @JorgeRivera-rp1zw 2 ปีที่แล้ว +2

    Many thanks Dear Joy...!
    Just what I was looking for..!
    You are really great person.!

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

    Sir ,you are the best teacher please sir I want more projects like this. you are absolutely fantastic teacher.♥🙏

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

    This is good. I like this guy. The explanation is so clear. Watching this course is like watching an Avenger movie. I am sold. Question: Why is the script outside the body tag?

  • @SufiyanShaikh-l8h
    @SufiyanShaikh-l8h ปีที่แล้ว +1

    Amazing tutorial😊😊 very nice explanation.

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

    This is very clear course, thank you!

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

    @Joy Shaheb Can you explain 1:09:30 , when you are passing id in increment function, how you are receiving an element?

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

      i have the same problem i couldn't figure it out 😅

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

      i had the same problem, fixed it by changing the ids to a string. E.g. id: "1" to id: ''qwerty. i was able to return a element that way

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

      @@mishraman9902 thank you very much

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

    Huge respect to this channel

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

    Thank you much Joy I have subscribed to your channel. This project has it all. All the shortcuts you use through the tutorial are very helpful.

  • @Shahid_An-AI-Engineer
    @Shahid_An-AI-Engineer ปีที่แล้ว

    "I just love the way you teach us the pure magic of JS "❤🙌🔥

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

    amazing video , advanced Frontend stuffs with just 3 hour

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

    having tNice tutorials tutorial playing when first using soft soft was a godsend. Thank you!!

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

    explained each and everything clearly,
    awesome to see you in upcoming projects
    thank you

  • @imadrizk
    @imadrizk 7 หลายเดือนก่อน +2

    at 1:90:32 there is an error because console.log(id) should give you the id, not a div. To get the div you have to getElementById. This will happen if you set the id to a number in the data set like id:1, but for id:"istring" then you will get a div. The problem is in onclick function. Instead of onclick=increment(${id}) you need to set it to onclick="increment('${id}')" to get the real id and not a div

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

    Oh great! Something to keep me company for the next month! :D

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

    I love this. it make me understand everything about JavaScript. thanks a lots

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

    Really well explained each & every bit of code. Understood clearly💯

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

    Hi Joy, see you again here! Love your unique style!

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

    Your tutorial is brilliant. I love your teaching style and enthusiasm. Thanks!

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

    Literally searched for this exact content as this video popped up.

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

    I love this tutorial so much and i love the indian accent tooo. Its so good! :)

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

    Joy is the best for webdevelopment

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

    love your enthusiaism , look forward to more tutorials from you

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

    The tutorial is on point and the instructor is good at explaining things👍 thank you.

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

    Hell yea dude. This vid has got it all for doing a nice JS project.

  • @lonewolf.8635
    @lonewolf.8635 2 ปีที่แล้ว +3

    God bless you FCC I was just thinking of doing this

  • @NOTHING-en2ue
    @NOTHING-en2ue ปีที่แล้ว

    this was the most prefect video I have ever seen in my life I really learned much thing thanks a lot❤

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

    Just one word: "perfection"

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

    This tutorial is one of the best ways to learn css and javascript

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

    thanks alot javascript have always been a nightmare for me but you explain it so smooth thanks again.

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

    whoa!! its taken me 3 days to go slowly over this vid while writing down new concepts that am learning, thank you. One more question, for the check out section at the end, what payment getaways would one add to the project, if possible kindly share with us your suggestions or learning resources. Once again, Thank you!!

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

    This video is very helpful for beginner... May Allah bless you

  • @khantzawphyo4779
    @khantzawphyo4779 8 หลายเดือนก่อน +1

    I'm getting Uncaught Syntax Error around this: 1:09:46, i was expecting the same input.

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

      I am having the same issue. Were you able to fix it? If so, how?

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

    By this video I have got to learn about es6 arrow function and also how to properly use variables. Thanks for this tutorial.

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

      If you payed atention there some bugs too in the code, like the id.id scenario, when geting the id parameter from increment,decrement functions. That whould be an easy fix if the teacher replaces onclick=""increment(${id})" with onclick=""increment('${id}')"

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

    Thank you, great project tutorial!

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

    কোন বাংলাদেশীর এটাই মনে হয় প্রথম ভিডিও freecodecamp TH-cam channel এ।
    from 🇧🇩🇧🇩🇧🇩🇧🇩

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

    Amazing Course and teacher

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

    Great explanation Joy bhai

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

    omg wonderful tutorial he is real teacher for beginner

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

    Thank you very much for this great job! It was Amazing tutorial!

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

    Awesome work! I can't stop saying "Save the thing" though 😄 Thank you.

  • @NeetuRajpoot-qy7pr
    @NeetuRajpoot-qy7pr 2 หลายเดือนก่อน

    Thanks alot sir☺️very useful video.all things clear

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

    Incredible tutorial. Thanks for sharing

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

    not so many people expaind llike this thank you

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

    Excellent tutorial Joy, thank you

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

    Thanks for your great course.

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

    great tutorial, i like the way to teaching. Thank you very much for the tutorial.

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

    Thank you very much. I am really gratefull for this video. Thank you Joi

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

    Exact naming would help: itemQuantiy for item, cartQuantity for sum of all item quantities! Name x to item then you refer to it like: item.quantity.
    I like the logical steps you do. They are easy to follow. You have good design skills.
    You should copy less code around and create functions for it.

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

    Excellent..! keep doing on Javascript and React js