Premium Only Content
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
-
58:35
Trumpet Daily
20 hours ago $3.93 earnedThe Trade War Begins - Trumpet Daily | Feb. 3, 2025
20.6K34 -
47:03
Uncommon Sense In Current Times
18 hours agoArrested For Praying Silently in Western Culture and Convicted
13K1 -
44:19
PMG
16 hours ago $0.01 earnedIn the wake of a tragedy! Finding hope in broken times
8.34K -
3:40:50
FreshandFit
10 hours agoGirls Walk Off Pod After Being Exposed As Thots By Chat! 🤣
111K120 -
5:30:06
SpartakusLIVE
14 hours ago#1 King of Content kicks off YOUR week with Monday MOTIVATION
133K8 -
5:56:52
Akademiks
12 hours agoKendrick Lamar Sweeps Grammys. Drake announces new album on Feb 14. Rocky Trial Might get Dismissed?
106K6 -
3:25:02
BrancoFXDC
10 hours ago $3.40 earnedWarzone Rebirth Rounds
48.9K -
1:44:14
Glenn Greenwald
17 hours agoRubio's Shift: What is Trump's Foreign Policy? Trump/Musk Attack CIA Fronts USAID & NED: With Mike Benz | SYSTEM UPDATE #401
113K111 -
1:05:47
Donald Trump Jr.
18 hours agoMexico Sends Troops to Border, Plus USAid Scam Exposed, Live with Brooke Goldstein & Rep Brian Mast | TRIGGERED Ep.213
257K324 -
9:26
Rethinking the Dollar
14 hours agoUnbelievable Government Waste: 5 Outrageous Biden-Era Spending Sprees
120K19