Javascript Project Tutorial: Budget App

  Рет қаралды 219,343

freeCodeCamp.org

freeCodeCamp.org

Күн бұрын

Пікірлер: 133
@SpiritualFacts
@SpiritualFacts 6 жыл бұрын
freeCodeCamp is a true revolution!!
@mr.penguin2054
@mr.penguin2054 4 жыл бұрын
Yes
@SergioLTorresPROGRAM
@SergioLTorresPROGRAM 5 жыл бұрын
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 Жыл бұрын
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 жыл бұрын
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 4 жыл бұрын
I Love how John Smilga explains. Great👍👍🔥🔥🔥
@FBHI
@FBHI 5 жыл бұрын
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
@darshankoshiya1835
@darshankoshiya1835 6 жыл бұрын
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.
@HashimWarren
@HashimWarren 6 жыл бұрын
I love this project. Thanks for writing recording this
@shubhambattoo1436
@shubhambattoo1436 5 жыл бұрын
Great tutorial mate. Loved it
@keweml3544
@keweml3544 3 жыл бұрын
Another awesome tutorial by my favorite guy!
@ochicoin
@ochicoin 6 жыл бұрын
I love your tutorials and courses
@huynhhuunhan6318
@huynhhuunhan6318 6 жыл бұрын
perfect project to learn js!! thanks
@Feb16Arts
@Feb16Arts 6 жыл бұрын
You are so helpful to me. Thanks so much for this video. Thumbs up!
@danielcliff3433
@danielcliff3433 6 жыл бұрын
Keep making videos its really helpful
@mboed1011
@mboed1011 6 жыл бұрын
Thank you guys. It was very helpful.
@trendingnow-i6l
@trendingnow-i6l 6 жыл бұрын
John Smilga coding addict I've got you
@marcinantol4915
@marcinantol4915 6 жыл бұрын
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 KZbin 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.
@dfjama
@dfjama 6 жыл бұрын
This seems to be interesting, thanks for sharing with us...
@hemendrasahu7943
@hemendrasahu7943 5 жыл бұрын
Thank you for this great tutorial
@nila4452
@nila4452 5 жыл бұрын
Teacher is coding addict guy!
@DES2048
@DES2048 5 жыл бұрын
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)
@mb-techmedia8494
@mb-techmedia8494 3 жыл бұрын
thanks for sharing the ideas.. it was very useful
@zia44ful
@zia44ful 4 жыл бұрын
Awesome... Thanks a lot, keep up the good work.
@iamfranchet167
@iamfranchet167 6 жыл бұрын
I needed this!!!
@AirdropZone1
@AirdropZone1 6 жыл бұрын
Woow it's incredible and awesome video tutorial that helped me alot to learn thanks for the great input.
@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
@mr.technology5621
@mr.technology5621 5 жыл бұрын
25:38 You Can use Arrow Function To Avoid It !!
@praf2
@praf2 5 жыл бұрын
Why not adding the eventListenters function directly as the callback to DOMContentLoaded event? It seems redundant the way it was called in the video.
@charlievillarba5990
@charlievillarba5990 6 жыл бұрын
Thanks for the tutorial
@JosephEton
@JosephEton 6 жыл бұрын
Lovely. I was thinking if we can add export of the budget with options of excel, pdf etc to the project.
@MuhammadAhmed-vi2xt
@MuhammadAhmed-vi2xt 6 жыл бұрын
just wow love you guys.
@davidmclean3946
@davidmclean3946 4 жыл бұрын
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
@RahulDas-cb2xe
@RahulDas-cb2xe 6 жыл бұрын
Another one.freecode the best!
@antsmith3284
@antsmith3284 2 жыл бұрын
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?
@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
@amineouabbou6620
@amineouabbou6620 4 жыл бұрын
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 ?
@srinaths284
@srinaths284 5 жыл бұрын
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
@Goku64485
@Goku64485 2 жыл бұрын
this is not fair .U have to do full prject from start.
@dariourdaneta5443
@dariourdaneta5443 5 жыл бұрын
what a cool landlord
@niided
@niided 6 жыл бұрын
The array reduce function keeps giving me Nan after the first input. Please check it.
@mohattia
@mohattia 6 жыл бұрын
How can I apply a localStorage for this project???
@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?
@gustavomoncada5321
@gustavomoncada5321 5 жыл бұрын
Only 2 minutes in I already pressed like
@saisreenivas2227
@saisreenivas2227 6 жыл бұрын
Thank you
@OsamaSayed1
@OsamaSayed1 5 жыл бұрын
@coding Addict i cannot edit expense if there were more than one item how could i fix that .
@AjayKumar-id7mb
@AjayKumar-id7mb 3 жыл бұрын
Code not working
@nino12729
@nino12729 5 жыл бұрын
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()
@vanguardsln
@vanguardsln 5 жыл бұрын
Why You guys don't monetize the content. It will add some money to your great cause.
@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?
@funzone23446
@funzone23446 3 жыл бұрын
Yes
@bcpi1328
@bcpi1328 4 жыл бұрын
I think this is coder addict
@gururajmoger8649
@gururajmoger8649 6 жыл бұрын
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..
@JohnLee-xl2ut
@JohnLee-xl2ut 4 жыл бұрын
I can do that in c#. Is it just the same?
@chinmayanand896
@chinmayanand896 6 жыл бұрын
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... :)
@Maaaaars
@Maaaaars 6 жыл бұрын
meena chinmay create an edit component that handles the properties. It shouldn’t be that hard
@chinmayanand896
@chinmayanand896 6 жыл бұрын
@@Maaaaars 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. :)
@douaa5448
@douaa5448 5 жыл бұрын
Thanks ✨✨✨
@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 жыл бұрын
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
@tamannagoyal8953
@tamannagoyal8953 6 жыл бұрын
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
@arthurshaidullin7981
@arthurshaidullin7981 6 жыл бұрын
cool, thanks
@photo5606
@photo5606 5 жыл бұрын
How much we will get maximum
@hernantanael5457
@hernantanael5457 6 жыл бұрын
Sir my request..inventory system tutorial boss for java.. thanks boss
@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?
@ravishankardas4856
@ravishankardas4856 5 жыл бұрын
"Uncaught TypeError: event.target.parentElement.classList.contain is not a function" can anybody help me with this???
@fabiozimmerman7598
@fabiozimmerman7598 5 жыл бұрын
it's contains. You missed the letter 's'
@nagendra9092
@nagendra9092 6 жыл бұрын
Can anyone tell me why 'Parse' is used ?
@drivenbycuriosity
@drivenbycuriosity 4 жыл бұрын
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 жыл бұрын
delete the comment in the last line of these two files
@Ukiyo786
@Ukiyo786 5 жыл бұрын
how ui was made
@albert405
@albert405 3 жыл бұрын
Hey, how to make this program that it will remember the balance and update it every time I use it?
@Gymaddiction683
@Gymaddiction683 3 жыл бұрын
learn database
@rohitsanjay1
@rohitsanjay1 6 жыл бұрын
How do I make this using Python?
@AjayKumar-fd9mv
@AjayKumar-fd9mv 3 жыл бұрын
👍👍👍
@faisalmulya416
@faisalmulya416 6 жыл бұрын
I auto subs this channel
@SoulPrints
@SoulPrints 3 жыл бұрын
"I don't know what you're smoking but no way you're making that much money " :D :D
@storyden5
@storyden5 6 жыл бұрын
Please always make the video from scratch like traversy
@aurelianspodarec2629
@aurelianspodarec2629 6 жыл бұрын
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!
@stevenjuwon6690
@stevenjuwon6690 6 жыл бұрын
Pls how can i add local storage
@anonymousbot2829
@anonymousbot2829 4 жыл бұрын
Hi great tutorial you missed this.itemId--
@resultmarketing
@resultmarketing 5 жыл бұрын
first like, then watch
@UwaisChannel_
@UwaisChannel_ 4 жыл бұрын
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');
@umerhayyat7818
@umerhayyat7818 5 жыл бұрын
it app for both android and ios ?
@Александр-ы4в6к
@Александр-ы4в6к 6 жыл бұрын
Супер!
@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 .
@ahmedadel7977
@ahmedadel7977 6 жыл бұрын
python project please
@freecodecamp
@freecodecamp 6 жыл бұрын
There are some Python projects in this playlist: kzbin.info/www/bejne/qJfWlImJZdunmNk
@YungSchema
@YungSchema 4 жыл бұрын
44:26
@hyprtv2138
@hyprtv2138 5 жыл бұрын
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
@leogansallo-sadiq2864
@leogansallo-sadiq2864 6 жыл бұрын
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.
@Sanjar50bay
@Sanjar50bay 5 жыл бұрын
what kind of milk costs 3k $? ))))
@unutulmaskunlar3907
@unutulmaskunlar3907 3 жыл бұрын
Zo'r
@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?
@ziuhoque1532
@ziuhoque1532 6 жыл бұрын
HOW TO MAKE bulk sms service for free
@HimanshuKumar-xz5tk
@HimanshuKumar-xz5tk 4 жыл бұрын
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
@sul3y
@sul3y 5 жыл бұрын
I love guys
@sleaye
@sleaye 5 жыл бұрын
Who? Milos patch?
@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
@voiceofthetrue1849
@voiceofthetrue1849 6 жыл бұрын
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 жыл бұрын
Terrible voice
@wookash_
@wookash_ 6 жыл бұрын
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 жыл бұрын
@@wookash_ his what? If you check the discord bot tutorial on this channel and compare it with this video....
@wookash_
@wookash_ 6 жыл бұрын
@@electronicheartbreak. saliva = spit ;-)
@SMorgan716
@SMorgan716 6 жыл бұрын
Everyones a critic...Simple solution..You make one then.
@electronicheartbreak.
@electronicheartbreak. 6 жыл бұрын
@@SMorgan716 fix your grammar first. Why should I?
@dipanshusabharwal
@dipanshusabharwal 6 жыл бұрын
Thank you
Build a Shopping Cart with JavaScript - Project Tutorial
3:19:58
freeCodeCamp.org
Рет қаралды 437 М.
JavaScript DOM Manipulation - Full Course for Beginners
2:41:21
freeCodeCamp.org
Рет қаралды 1,2 МЛН
How to treat Acne💉
00:31
ISSEI / いっせい
Рет қаралды 108 МЛН
Backend web development - a complete overview
12:58
SuperSimpleDev
Рет қаралды 1,9 МЛН
The Biggest React Framework You've Never Heard of
20:29
Theo - t3․gg
Рет қаралды 48 М.
JavaScript Project Tutorial: Shopping Cart
54:38
freeCodeCamp.org
Рет қаралды 166 М.
Learn JavaScript - Full Course for Beginners
3:26:43
freeCodeCamp.org
Рет қаралды 19 МЛН
Learn JavaScript With This ONE Project!
1:10:26
Tech With Tim
Рет қаралды 790 М.
Solving a 'Germany' Math olympiad question
6:50
Asad International Academy
Рет қаралды 599
Budget App - Python | FreeCodeCamp
13:22
Landon Schlangen
Рет қаралды 24 М.
5 Javascript Projects to Build (For Beginners)
10:21
Andy Sterkowitz
Рет қаралды 306 М.
Create a Platformer Game with JavaScript - Full Tutorial
2:42:52
freeCodeCamp.org
Рет қаралды 483 М.