Refactoring JavaScript - Compound interest calculator web app
In this javascript tutorial you will learn how to refactor javascript code to a more simpler and cleaner cod. We will use a previous project for this as a example.
🎱Source Code for this Video:
https://norbertbm.com/?p=5660
-----------------------------------------------------------------------------
👇 Website & Courses: 👨🏫 :
https://norbertbm.com/web-development/web-dev-courses/
Podcast:
https://www.youtube.com/channel/UCDKBcl1m__Oj7C5O-orhn_w
-------------------------------------------------------------------------------------------------
Timestamps:
00:00 - Intro & Project overview
01:44 - Alternative to declaring const for each variable
02:32 - Alternative to addEventListener of submit
03:12 - Alternative to if else - Conditional (ternary) operator
04:54 - Create a function that gets values from HTML input tags
07:58 - Create a function that calculate the compounded interest rate with also a monthly contribution.
-------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------
#refactoring #javascriptproject #norbertbmwebdevelopment
-
1:13:29
Steve-O's Wild Ride! Podcast
2 days ago $0.13 earnedPenguinZ0 Has No Respect For Dr. Disrespect! - Wild Ride #222
45.3K6 -
2:00:57
LFA TV
10 hours agoMERRY INDEPENDENCE! | LIVE FROM AMERICA 7.5.24 11am EST
66K41 -
2:07:02
TENET Media
20 hours agoWhat Is A Conservative Woman? | The Culture War with Tim Pool w/Lilly Gaddis & Rachel Wilson
50.6K26 -
46:55
Peter Santenello
7 hours agoWhat’s Happening at the Border? 🇺🇸🇲🇽
38.8K46 -
1:38:55
Real Coffee With Scott Adams
7 hours agoEpisode 2527 CWSA 07/05/24
48.2K44 -
2:58:25
Wendy Bell Radio
11 hours agoPublic Enemy #1
81.9K136 -
41:23
The Why Files
5 days agoBaltic Sea Anomaly, Atlantis, and Underwater Alien Bases | Mysteries of the Ocean Pt 1
107K72 -
11:29
TimcastIRL
1 day agoReporters TURN On Biden, Accuse Him Of Sleeping During White House Press Briefing
73.6K62 -
10:34
Degenerate Jay
1 day agoThe Rejected Spider-Man Marvel What If...? Episode Too Dark For Disney
34.6K8 -
3:00
Hack
1 day agoHow to make a fish trap in 30 seconds
51.4K21