Javascript Project Tutorial: Budget App

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

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

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

    freeCodeCamp is a true revolution!!

  • @SergioLTorresPROGRAM
    @SergioLTorresPROGRAM 5 ปีที่แล้ว +11

    I really swear this was like an 'INSANE MODE' not for the difficult, it is for the fluent and knowledge of the coder. Congrats!

  • @awesome-view
    @awesome-view ปีที่แล้ว +3

    This is the video every beginner needs to start understanding DOM manipulation and how javascript works with HTML. This was all I needed when starting my career as a programmer. Thank you so much.💫💫💫💯💯

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

    And that´s why we use Angular/React/Vue/Svelte, etc... Anyhow is very good to be reminded of the laborious work that is regular JavaScript. Good little project!

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

    I Love how John Smilga explains. Great👍👍🔥🔥🔥

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

    You guys always surprise me with this kinda incredible videos.... Keep Going...............

  • @adrianwalker9917
    @adrianwalker9917 3 ปีที่แล้ว

    This is the first JS course I've seen with constructors & classes. I paused it so I can go watch another video to figure out what they are.

  • @FBHI
    @FBHI 5 ปีที่แล้ว +8

    Thanks for the tutorial!! Help me to learn how HTML/CSS interacts with JS!
    But forgetting or skipping the sum of the old budget with a new was a little disappointing hehe

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

    Great tutorial mate. Loved it

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

    I love this project. Thanks for writing recording this

  • @keweml3544
    @keweml3544 3 ปีที่แล้ว

    Another awesome tutorial by my favorite guy!

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

    I love your tutorials and courses

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

    perfect project to learn js!! thanks

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

    if you add more to list, then the previously added items have not working icons, until you delete everything from the last added position till the item you want to remove/edit
    solved: -> delete line 113 in main.css : font-size: 2.6 rem

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

      The issues is that more then one expense in the list will break the edit and delete icon functionality. As a result it is not possible to make edits or delete items in the list except for the last item in the list. I think it is a CSS problem but not quite sure. My lack of understanding with what is going on with the Bootstrap & flex stuff I am struggling to fix this. It was reported in TH-cam comments that this will fix the problem:
      delete line 113 in main.css : font-size: 2.6 rem
      This is not a solution it is more of a hack in my view, as it actually causes inconsistent fonts sizing between other elements in the UI.
      I am wondering if anyone has fixed this issue and I curious how they did fix it. If there are no fixes as of yet, can you as the project owner or any community member help us resolve this issue?
      Great teaching and thank you for your time.

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

    You are so helpful to me. Thanks so much for this video. Thumbs up!

  • @trendingnow-i6l
    @trendingnow-i6l 6 ปีที่แล้ว +2

    John Smilga coding addict I've got you

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

    Teacher is coding addict guy!

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

    Keep making videos its really helpful

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

    Thank you guys. It was very helpful.

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

    Why not adding the eventListenters function directly as the callback to DOMContentLoaded event? It seems redundant the way it was called in the video.

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

    Thank you for this great tutorial

  • @mr.technology5621
    @mr.technology5621 4 ปีที่แล้ว +1

    25:38 You Can use Arrow Function To Avoid It !!

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

    This seems to be interesting, thanks for sharing with us...

  • @nagendra9092
    @nagendra9092 6 ปีที่แล้ว

    Even though I'm a beginner in Javascript, I understood this very well. Only thing is , I want to know how to add budget as it is the only constant element in the entire code. Will be helpful for me if adding budget option is also exists in the code

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

    Budget input field validation passes values consist with zeroes, like 0000, and finally we have $ 0000 in budget amount). May be you should fix it)?
    P.S. Thanks a lot for the lesson! it was very usefull for me!

    • @abbysands9510
      @abbysands9510 3 ปีที่แล้ว

      I just find this course and I am the @32:56 minute and I am enjoying it if I am being honest. However, I have run into a couple of issues that have caused me to pause the recording and try to fix them because knowing those errors exist literally bugging me which means I cannot carry on lol.
      I ran into a couple of issues the first is the one you mentioned where you can pass in 0000 and it will still validate
      2) the second issue is if the user enters an infinite number where the digits are well infinite so to speak and hits calculate then the number literally goes off the screen. If the user enters any number greater than 100000000 then it bleeds into the expenses field and the same happens to the expense field if it exceeds a certain range of digits where it then bleeds in the balance field.
      Fix 1 regarding the validation of 000 number was to add "=" sign inside the validation if statement.
      The original if-statement was only validating if the number was less than "0" and since "0" is not less than "0" it validates
      Original code:
      if (value === ' ' || value < 0) {
      perform some action .......
      }
      Changed the code to
      if (value === ' ' || parseFloat(value)

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

    I needed this!!!

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

    Hi , did anyone else get up to the hour mark and I cant get my expense list and amount to show . I am not getting any console errors and the markup seems correct. anyone else have the same issue

  • @zia44ful
    @zia44ful 4 ปีที่แล้ว

    Awesome... Thanks a lot, keep up the good work.

  • @mb-techmedia8494
    @mb-techmedia8494 3 ปีที่แล้ว

    thanks for sharing the ideas.. it was very useful

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

    The array reduce function keeps giving me Nan after the first input. Please check it.

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

    when I press the "add expense" button, the expense and expense amount is not displayed
    instead I get
    ${expense.title} ${expense.amount}
    as the display. I am not getting the expense name and expense amount
    somebody, please help

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

    Would it be possible to do an app like Venmo? If it's too complex, can you possibly do a simple version of it? I'm very curious to see how it works. Do you have something like this already?

  • @AirdropZone1
    @AirdropZone1 6 ปีที่แล้ว

    Woow it's incredible and awesome video tutorial that helped me alot to learn thanks for the great input.

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

    hello men thanks for this amazing tutorial
    ca we remove the addExspense method and instead read the expenses list diretly from a method called "ListItems", since we already pushing object to the array this.itemList ?

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

    what a cool landlord

  • @MuhammadAhmed-vi2xt
    @MuhammadAhmed-vi2xt 6 ปีที่แล้ว +1

    just wow love you guys.

  • @JosephEton
    @JosephEton 6 ปีที่แล้ว

    Lovely. I was thinking if we can add export of the budget with options of excel, pdf etc to the project.

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

    Thanks for the tutorial

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

    @coding Addict i cannot edit expense if there were more than one item how could i fix that .

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

    How can I apply a localStorage for this project???

  • @RahulDas-cb2xe
    @RahulDas-cb2xe 6 ปีที่แล้ว

    Another one.freecode the best!

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

    Only 2 minutes in I already pressed like

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

    I think this is coder addict

  • @NullistEins
    @NullistEins 5 ปีที่แล้ว

    Its not working on my desktop. Brackets always says expected an identifier and instead saw 'class.' class UI {
    Stopping. (0% scanned). class UI {
    ERROR: Parsing error: The keyword 'class' is reserved class UI {
    Can someone help me?

  • @AjayKumar-id7mb
    @AjayKumar-id7mb 3 ปีที่แล้ว +1

    Code not working

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

    this is not fair .U have to do full prject from start.

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

    Why You guys don't monetize the content. It will add some money to your great cause.

  • @JohnLee-xl2ut
    @JohnLee-xl2ut 4 ปีที่แล้ว +1

    I can do that in c#. Is it just the same?

  • @DanielWeikert
    @DanielWeikert 6 ปีที่แล้ว

    Thank you. Could you please elaborate why you used a class? Is this necessary, if so why?

    • @quality.d.s
      @quality.d.s 6 ปีที่แล้ว

      This is syntatic sugar

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

    Can anyone tell me why 'Parse' is used ?

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

    hello,
    when he console.log(itemList) it doesnt work. He need the this keyword, but why we need this? why javascript cant find itemList?

    • @createdbyjulius6133
      @createdbyjulius6133 4 ปีที่แล้ว

      hi

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

      Put
      this .itemID++
      .
      .
      .
      👉 this.showBalance()
      In submitExpenseform()

  • @callmesenny5148
    @callmesenny5148 3 ปีที่แล้ว

    someone tell me what i can do to learn these better
    should i code along or try after watching the full vid?

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

    hey does anyone know where i can find help with the css/html

    • @dalemoayokunle7330
      @dalemoayokunle7330 4 ปีที่แล้ว

      if you mean the markup, it's in the github link in the description

  • @stasonnl777
    @stasonnl777 5 ปีที่แล้ว

    Maybe I missed something, but I do not understand where the data will be stored? Or database connection is not included in this tutorial?

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

    Thank you

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

    "Uncaught TypeError: event.target.parentElement.classList.contain is not a function" can anybody help me with this???

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

    How do I make this using Python?

  • @jasamkiki13
    @jasamkiki13 5 ปีที่แล้ว

    I get an error saying document is not defined, even when I define it globally:
    function eventListeners() {
    this.budgetForm = document.getElementById("budget-form");
    this.expenseForm = document.getElementById("expense-form")
    this.expenseList = document.getElementById("expense-list");
    const ui = new UI();
    budgetForm.addEventListener("submit", function(event){
    event.preventDefault();
    });
    expenseForm.addEventListener("submit", function(event){
    event.preventDefault();
    });
    expenseList.addEventListener("click", function() {});
    }
    document.addEventListener("DOMContentLoaded", function() {
    eventListeners();
    })

    • @BenMelluish
      @BenMelluish 5 ปีที่แล้ว

      "document" is a global variable pointing to the html node. It should be available in ALL in-browser contexts. Have you overwritten it somewhere? Are you running this code in your browser?

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

    How much we will get maximum

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

    how ui was made

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

    how you ran that js file on localhost could u please tell me please ?

    • @Ali-lm7uw
      @Ali-lm7uw 6 ปีที่แล้ว

      The local host has to be created.

    • @davidmclean3946
      @davidmclean3946 4 ปีที่แล้ว

      Hi , it will run in your browser . if you use vs code as a text editor and install live server from the extentions. once its installed , you can open your project go to your HTML5 file and right click it and select open file with live server

  • @albert405
    @albert405 3 ปีที่แล้ว

    Hey, how to make this program that it will remember the balance and update it every time I use it?

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

    SOME ONE PLEASE HELP
    I have downloaded the files and tried to run the app. But, i am getting below 2 errors...😕
    DevTools failed to load SourceMap: Could not load content for...
    1)file:....js/@t: System error: net::ERR_FILE_NOT_FOUND
    2)file:.....css/@t: System error: net::ERR_FILE_NOT_FOUND

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

      delete the comment in the last line of these two files

  • @douaa5448
    @douaa5448 5 ปีที่แล้ว

    Thanks ✨✨✨

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

    anyone got this error "Cannot read property 'addEventListener' of null" in the app.js file "//expense click
    min: 15:01

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

      Had same error, mispelled budget in const budgetForm = document.getElementById('budget-form');

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

    Please make carousel with multiple images in box and pagination in JavaScript oops..

    • @gururajmoger8649
      @gururajmoger8649 6 ปีที่แล้ว

      @Sam Finance Tech
      Yes we can..but I need to to go for es6.. please help me out..

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

    There is a problem that we can not edit our budget!!!!!
    what if i want to add some more money to my budget just few minutes after then what...??
    overall all is good but you could have done this then it might be more cool...!!
    But Thanks for the project... :)

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

      meena chinmay create an edit component that handles the properties. It shouldn’t be that hard

    • @chinmayanand896
      @chinmayanand896 6 ปีที่แล้ว

      @@mjohnson510 yes i am going to do that i know that it is not that hard to do, i was saying he could have done that nothing else...
      i know my friend that is so easy to do that i am gonna do that along with many new feature on this like save records and then make an average expenses and then i will try to predict future budget also. :)

  • @stevenjuwon6690
    @stevenjuwon6690 6 ปีที่แล้ว

    Pls how can i add local storage

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

    it app for both android and ios ?

  • @leogansallo-sadiq2864
    @leogansallo-sadiq2864 5 ปีที่แล้ว +1

    Hi, this is exactly what i needed. Thank you so much.
    But i need to add some features like login password and how to save for other person to view the expenses when logged in. Please reply. I need your response.

  • @hernantanael5457
    @hernantanael5457 6 ปีที่แล้ว

    Sir my request..inventory system tutorial boss for java.. thanks boss

  • @arthurshaidullin7981
    @arthurshaidullin7981 6 ปีที่แล้ว

    cool, thanks

  • @YungSchema
    @YungSchema 4 ปีที่แล้ว

    44:26

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

    Please always make the video from scratch like traversy

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

      This is from skratch. We are learning JS, not HTML/CSS. Please DO NOT do that.
      And I don't want to type 20 selectors either!

  • @AjayKumar-fd9mv
    @AjayKumar-fd9mv 3 ปีที่แล้ว +1

    👍👍👍

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

    I auto subs this channel

  • @tessaslife3444
    @tessaslife3444 4 ปีที่แล้ว

    Can someone please walk me through how to open this file in VS code

    • @davidmclean3946
      @davidmclean3946 4 ปีที่แล้ว

      install live server on vs code , and after install , restart vs code , open your project and on the HTML5 document , right click and select open with live server .

  • @SoulPrints
    @SoulPrints 3 ปีที่แล้ว

    "I don't know what you're smoking but no way you're making that much money " :D :D

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

    first like, then watch

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

    After watching this video instead of paying 3 thousand i am paying THREE THOUSAND! ik i am a genius!

    • @romarajak529
      @romarajak529 4 ปีที่แล้ว

      Plzz call me in this number 7679233569

  • @anonymousbot2829
    @anonymousbot2829 4 ปีที่แล้ว

    Hi great tutorial
    you missed this.itemId--

  • @gooddev506
    @gooddev506 6 ปีที่แล้ว

    I tried to run the code before building it.it won't run.
    i used the github source. why it won't calculate anything?

  • @Александр-ы4в6к
    @Александр-ы4в6к 6 ปีที่แล้ว +3

    Супер!

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

    python project please

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

      There are some Python projects in this playlist: th-cam.com/video/rfscVS0vtbw/w-d-xo.html

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

    what kind of milk costs 3k $? ))))

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

    Zo'r

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

    I love guys

    • @sleaye
      @sleaye 5 ปีที่แล้ว

      Who? Milos patch?

  • @HimanshuKumar-xz5tk
    @HimanshuKumar-xz5tk 4 ปีที่แล้ว +2

    I hate this man, you didnt explain HTML, CSS.. I couldn't follow it.

    • @Ali-lm7uw
      @Ali-lm7uw 4 ปีที่แล้ว

      He used bootstrap to quickly make the UI, he concentrated on the JavaScript part for this video. Which part did you not understand?

    • @HimanshuKumar-xz5tk
      @HimanshuKumar-xz5tk 4 ปีที่แล้ว

      @@Ali-lm7uw It just didn't feel right following the javascript without understanding HTML, CSS. Could have walked us through it. Just saying..

    • @Ali-lm7uw
      @Ali-lm7uw 4 ปีที่แล้ว

      @@HimanshuKumar-xz5tk he used used some bootstrap classes and a little bit of CSS for styling. Then he attached those html and css classes to JavaScript variables.

    • @HimanshuKumar-xz5tk
      @HimanshuKumar-xz5tk 4 ปีที่แล้ว

      @@Ali-lm7uw Okay, will try to understand those HTML and css on my own

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

    "I don't know what you're smoking, but you're not getting 7000 dollars"
    I laughed at that one
    Also not showing the htnl and css made this not worth my time

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

    HOW TO MAKE bulk sms service for free

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

    I don’t suggest anybody watch that terrible tut, especially for those whose a new with JavaScript.
    That’s not a good practice nor reusable code and full off side-effects.

    • @vincent8938
      @vincent8938 5 ปีที่แล้ว

      Then where can we find good tutorials ?

  • @electronicheartbreak.
    @electronicheartbreak. 6 ปีที่แล้ว +1

    Terrible voice

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

      Maybe not voice, but he could swallow his saliva more often while speaking.
      It is so annoying and distracting especially when you watch this tutorial on headphones.

    • @electronicheartbreak.
      @electronicheartbreak. 6 ปีที่แล้ว +1

      @@wookash_ his what? If you check the discord bot tutorial on this channel and compare it with this video....

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

      @@electronicheartbreak. saliva = spit ;-)

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

      Everyones a critic...Simple solution..You make one then.

    • @electronicheartbreak.
      @electronicheartbreak. 6 ปีที่แล้ว +1

      @@SMorgan716 fix your grammar first. Why should I?

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

    Thank you