Refactoring JavaScript - Compound interest calculator web app

2 years ago
30

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

Loading comments...