From d568dfd082581f160be5e7414ecc8b5d23ddb83d Mon Sep 17 00:00:00 2001 From: Maheshwari Love Date: Sun, 28 Jul 2024 01:08:08 +0530 Subject: [PATCH 01/20] set the margin of learn more button --- assets/css/style.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index d1aa9a95..9ad0d621 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -1975,13 +1975,13 @@ p { .single-blog .blog-content .more { font-size: 16px; color: #d32f2f; - margin-top: 30px; + margin-top: 10px; transition: 0.8s ease; } .single-blog .blog-content .more:hover::after { transform: scaleX(1); - transform-origin: bottom left; + transform-origin: left; } .single-blog .blog-content .more:hover { From e50de5572ff9e404981bb230a7016a3d7a74f8a4 Mon Sep 17 00:00:00 2001 From: Suhani Singh Paliwal <161575955+suhanipaliwal@users.noreply.github.com> Date: Wed, 7 Aug 2024 00:48:08 +0530 Subject: [PATCH 02/20] Create auto-comment-pr-merge.yml --- .github/workflows/auto-comment-pr-merge.yml | 37 +++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/workflows/auto-comment-pr-merge.yml diff --git a/.github/workflows/auto-comment-pr-merge.yml b/.github/workflows/auto-comment-pr-merge.yml new file mode 100644 index 00000000..20b974ae --- /dev/null +++ b/.github/workflows/auto-comment-pr-merge.yml @@ -0,0 +1,37 @@ +name: Auto Comment on PR Merge + +on: + pull_request_target: + types: [closed] + +permissions: + issues: write + pull-requests: write + +jobs: + comment: + if: github.event.pull_request.merged == true + runs-on: ubuntu-latest + + steps: + - name: Add Comment to Merged PR + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + COMMENT=$(cat < Date: Wed, 7 Aug 2024 15:53:32 +0530 Subject: [PATCH 03/20] Update contributors.html --- contributors.html | 68 ++++++++++++++++++++++++++++------------------- 1 file changed, 41 insertions(+), 27 deletions(-) diff --git a/contributors.html b/contributors.html index 47476fb5..a2793e75 100644 --- a/contributors.html +++ b/contributors.html @@ -183,6 +183,8 @@ + +
@@ -351,36 +353,48 @@

🤝 FinVeda - Contributors<

+ + fetchContributors(); + }); + + -->
+ + + + + + + diff --git a/blogs/Pocketmoney.html b/blogs/Pocketmoney.html index 8d121195..17c8624d 100644 --- a/blogs/Pocketmoney.html +++ b/blogs/Pocketmoney.html @@ -159,7 +159,7 @@
+ + + + + + +
diff --git a/blogs/economic-trends-and-analysis.html b/blogs/economic-trends-and-analysis.html index 2fefb3e1..3f296617 100644 --- a/blogs/economic-trends-and-analysis.html +++ b/blogs/economic-trends-and-analysis.html @@ -157,12 +157,12 @@
+ + + + + + +
diff --git a/blogs/empowering-you-with-economic-knowledge-for-smarter-decisions.html b/blogs/empowering-you-with-economic-knowledge-for-smarter-decisions.html index 8766b422..3067369f 100644 --- a/blogs/empowering-you-with-economic-knowledge-for-smarter-decisions.html +++ b/blogs/empowering-you-with-economic-knowledge-for-smarter-decisions.html @@ -157,12 +157,12 @@
+ + + + + + +
diff --git a/blogs/how-fintech-is-revolutionizing-small-business-lending.html b/blogs/how-fintech-is-revolutionizing-small-business-lending.html index 83860edb..5db72ada 100644 --- a/blogs/how-fintech-is-revolutionizing-small-business-lending.html +++ b/blogs/how-fintech-is-revolutionizing-small-business-lending.html @@ -157,12 +157,12 @@
+ + + + + + +
diff --git a/blogs/how-to-10x-your-generational-wealth.html b/blogs/how-to-10x-your-generational-wealth.html index 9b98bbcb..ce4fda35 100644 --- a/blogs/how-to-10x-your-generational-wealth.html +++ b/blogs/how-to-10x-your-generational-wealth.html @@ -159,7 +159,7 @@
+ + + + + + +
diff --git a/blogs/how-to-deal-with-unknown-risks-in-life-and-investing.html b/blogs/how-to-deal-with-unknown-risks-in-life-and-investing.html index 860db6ea..0e24ae6b 100644 --- a/blogs/how-to-deal-with-unknown-risks-in-life-and-investing.html +++ b/blogs/how-to-deal-with-unknown-risks-in-life-and-investing.html @@ -159,7 +159,7 @@
+ + + + + + +
diff --git a/blogs/invest-minimal.html b/blogs/invest-minimal.html index ec7f7c18..8f4059a6 100644 --- a/blogs/invest-minimal.html +++ b/blogs/invest-minimal.html @@ -159,7 +159,7 @@
+ + + + + + +
diff --git a/blogs/real-estate-economics.html b/blogs/real-estate-economics.html index b26ba24a..10284f4f 100644 --- a/blogs/real-estate-economics.html +++ b/blogs/real-estate-economics.html @@ -157,12 +157,12 @@
+ + + + + + +
diff --git a/blogs/saving-for-future.html b/blogs/saving-for-future.html index 52a9e6e0..0d3b5866 100644 --- a/blogs/saving-for-future.html +++ b/blogs/saving-for-future.html @@ -157,12 +157,12 @@
+ + + + + + +
diff --git a/blogs/senior.html b/blogs/senior.html index 9e025adf..b66ef102 100644 --- a/blogs/senior.html +++ b/blogs/senior.html @@ -160,7 +160,7 @@
+ + + + + + +
diff --git a/blogs/starup.html b/blogs/starup.html index 3ced3934..2707b420 100644 --- a/blogs/starup.html +++ b/blogs/starup.html @@ -158,12 +158,12 @@
+ + + + + + +
diff --git a/blogs/why-investing-in-stocks-is-better-than-fixed-deposit.html b/blogs/why-investing-in-stocks-is-better-than-fixed-deposit.html index a22e1e0c..2693c5a2 100644 --- a/blogs/why-investing-in-stocks-is-better-than-fixed-deposit.html +++ b/blogs/why-investing-in-stocks-is-better-than-fixed-deposit.html @@ -157,12 +157,12 @@
+ + + + + + +
From 51e93aff1e9afa57015baa3877dfff8566614cca Mon Sep 17 00:00:00 2001 From: Ketanop321 Date: Wed, 7 Aug 2024 21:23:41 +0530 Subject: [PATCH 05/20] added functional clear button on every calculator --- assets/css/style.css | 5 + tools/GSTcalc.js | 34 ++ tools/IncomeTax.js | 26 + tools/ProfitMargin.js | 25 +- tools/SWPCalculator.js | 25 + tools/SavingsGoalCalculator.js | 8 + tools/creditcardpayoff.js | 38 ++ tools/emiCalculator.js | 11 +- tools/expenditureandsaving.js | 31 ++ tools/insuranceCalculator.js | 18 +- tools/npvCalculator.js | 42 ++ tools/roiCalculator.js | 25 + tools/sip.html | 916 ++++++++++++++++----------------- tools/sipcalculatorJs.js | 11 + 14 files changed, 750 insertions(+), 465 deletions(-) diff --git a/assets/css/style.css b/assets/css/style.css index c1b34c0a..8318012f 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -8,6 +8,11 @@ body { overflow-x: hidden; } +.btn-text{ + margin-left: 35px; + color: white; +} + /* show and hide button css */ .form-control { diff --git a/tools/GSTcalc.js b/tools/GSTcalc.js index 159be7f0..ae12d7d6 100644 --- a/tools/GSTcalc.js +++ b/tools/GSTcalc.js @@ -20,3 +20,37 @@ document.addEventListener('DOMContentLoaded', function() { ); }); }); +function clearGST() { + document.getElementById('gst-calculator').reset(); + document.getElementById('total-gst').innerText = ''; + document.getElementById('post-gst-amount').innerText = ''; +} + +document.getElementById('gst-calculator').addEventListener('submit', function(event) { + event.preventDefault(); + calculateGST(); +}); + +function calculateGST() { + const mode = document.getElementById('mode').value; + const amount = parseFloat(document.getElementById('amount').value); + const taxSlab = parseFloat(document.getElementById('tax-slab').value); + + if (isNaN(amount) || isNaN(taxSlab)) { + alert('Please enter valid numbers for both amount and tax slab.'); + return; + } + + let gstAmount, postGSTAmount; + + if (mode === 'exclusive') { + gstAmount = (amount * (taxSlab / 100)); + postGSTAmount = amount + gstAmount; + } else if (mode === 'inclusive') { + gstAmount = (amount * (taxSlab / (100 + taxSlab))); + postGSTAmount = amount - gstAmount; + } + + document.getElementById('total-gst').innerText = `GST Amount: Rs. ${gstAmount.toFixed(2)}`; + document.getElementById('post-gst-amount').innerText = `Post GST Amount: Rs. ${postGSTAmount.toFixed(2)}`; +} diff --git a/tools/IncomeTax.js b/tools/IncomeTax.js index 75571222..e9d88c64 100644 --- a/tools/IncomeTax.js +++ b/tools/IncomeTax.js @@ -19,3 +19,29 @@ document.addEventListener('DOMContentLoaded', () => { document.getElementById('real-income').textContent = `Real Income:₹ ${realIncome.toFixed(2)}`; }); }); +function clearIncomeTax() { + document.getElementById('income-tax-calculator').reset(); + document.getElementById('income-tax').innerText = ''; + document.getElementById('real-income').innerText = ''; +} + +document.getElementById('income-tax-calculator').addEventListener('submit', function(event) { + event.preventDefault(); + calculateIncomeTax(); +}); + +function calculateIncomeTax() { + const income = parseFloat(document.getElementById('income').value); + const taxRate = parseFloat(document.getElementById('tax-rate').value); + + if (isNaN(income) || isNaN(taxRate)) { + alert('Please enter valid numbers for both income and tax rate.'); + return; + } + + const taxAmount = (income * taxRate) / 100; + const realIncome = income - taxAmount; + + document.getElementById('income-tax').innerText = `Income Tax: Rs. ${taxAmount.toFixed(2)}`; + document.getElementById('real-income').innerText = `Income After Tax: Rs. ${realIncome.toFixed(2)}`; +} diff --git a/tools/ProfitMargin.js b/tools/ProfitMargin.js index aecf18a1..9ee6381c 100644 --- a/tools/ProfitMargin.js +++ b/tools/ProfitMargin.js @@ -19,4 +19,27 @@ document.addEventListener('DOMContentLoaded', function() { resultElement.textContent = `Profit Margin: ${profitMargin.toFixed(2)}%`; }); }); - \ No newline at end of file + function clearProfitMargin() { + document.getElementById('profit-margin-calculator').reset(); + document.getElementById('profit-margin').innerText = ''; +} + +document.getElementById('profit-margin-calculator').addEventListener('submit', function(event) { + event.preventDefault(); + calculateProfitMargin(); +}); + +function calculateProfitMargin() { + const costPrice = parseFloat(document.getElementById('cost').value); + const sellingPrice = parseFloat(document.getElementById('selling-price').value); + + if (isNaN(costPrice) || isNaN(sellingPrice)) { + alert('Please enter valid numbers for both cost price and selling price.'); + return; + } + + const profit = sellingPrice - costPrice; + const profitMargin = (profit / sellingPrice) * 100; + + document.getElementById('profit-margin').innerText = `Profit Margin: ${profitMargin.toFixed(2)}%`; +} diff --git a/tools/SWPCalculator.js b/tools/SWPCalculator.js index 44ffb39f..04e952b3 100644 --- a/tools/SWPCalculator.js +++ b/tools/SWPCalculator.js @@ -27,3 +27,28 @@ function calculateSWP() { remainingAmountElement.textContent = `₹${finalValue.toFixed(2)}`; } +document.getElementById('calculateBtn1').addEventListener('click', function() { + const totalInvestment = parseFloat(document.getElementById('totalInvestment').value); + const withdrawalPerMonth = parseFloat(document.getElementById('withdrawalPerMonth').value); + const expectedReturnRate = parseFloat(document.getElementById('expectedReturnRate').value); + const totalPeriod = parseFloat(document.getElementById('totalPeriod').value); + + if (isNaN(totalInvestment) || isNaN(withdrawalPerMonth) || isNaN(expectedReturnRate) || isNaN(totalPeriod)) { + alert('Please enter valid numbers for all fields.'); + return; + } + + // Example calculation, adjust as per your formula + const totalWithdrawn = withdrawalPerMonth * totalPeriod * 12; + const remainingAmount = totalInvestment * Math.pow(1 + expectedReturnRate / 100, totalPeriod) - totalWithdrawn; + + document.getElementById('remainingAmount').innerText = remainingAmount.toFixed(2); +}); + +document.getElementById('clearBtn').addEventListener('click', function() { + document.getElementById('totalInvestment').value = ''; + document.getElementById('withdrawalPerMonth').value = ''; + document.getElementById('expectedReturnRate').value = ''; + document.getElementById('totalPeriod').value = ''; + document.getElementById('remainingAmount').innerText = ''; +}); diff --git a/tools/SavingsGoalCalculator.js b/tools/SavingsGoalCalculator.js index 6360b8d4..98edb59e 100644 --- a/tools/SavingsGoalCalculator.js +++ b/tools/SavingsGoalCalculator.js @@ -18,3 +18,11 @@ function calculateSavings() { document.getElementById('result').textContent =`You need to save Rs. ${monthlySavings.toFixed(2)} per month to reach your goal.`; } +function clearSavings() { + document.getElementById('goalAmount').value = ''; + document.getElementById('currentSavings').value = ''; + document.getElementById('monthlySavings').value = ''; + document.getElementById('interestRate').value = ''; + document.getElementById('result').innerText = ''; + } + \ No newline at end of file diff --git a/tools/creditcardpayoff.js b/tools/creditcardpayoff.js index e3b18766..18f04803 100644 --- a/tools/creditcardpayoff.js +++ b/tools/creditcardpayoff.js @@ -44,3 +44,41 @@ function calculateCreditCardPayoff() { document.getElementById('monthsToPayOff').textContent = monthsToPayOff; document.getElementById('totalInterestPaid').textContent = totalInterestPaid.toFixed(2); } +document.getElementById('calculateBtn').addEventListener('click', function() { + const balance = parseFloat(document.getElementById('balance').value); + const apr = parseFloat(document.getElementById('apr').value); + const monthlyPayment = parseFloat(document.getElementById('monthly-payment').value); + + if (isNaN(balance) || isNaN(apr) || isNaN(monthlyPayment)) { + alert('Please enter valid numbers for all fields.'); + return; + } + + const monthlyInterestRate = apr / 100 / 12; + let monthsToPayOff = 0; + let totalInterestPaid = 0; + let currentBalance = balance; + + while (currentBalance > 0) { + const interest = currentBalance * monthlyInterestRate; + currentBalance = currentBalance + interest - monthlyPayment; + totalInterestPaid += interest; + monthsToPayOff++; + if (monthsToPayOff > 600) { + alert('It will take more than 50 years to pay off the balance with the current monthly payment.'); + break; + } + } + + document.getElementById('monthsToPayOff').innerText = monthsToPayOff; + document.getElementById('totalInterestPaid').innerText = totalInterestPaid.toFixed(2); +}); + +document.getElementById('clearBtn').addEventListener('click', function() { + console.log('Clear button clicked'); // Debug log + document.getElementById('balance').value = ''; + document.getElementById('apr').value = ''; + document.getElementById('monthly-payment').value = ''; + document.getElementById('monthsToPayOff').innerText = '0'; + document.getElementById('totalInterestPaid').innerText = '0.00'; +}); diff --git a/tools/emiCalculator.js b/tools/emiCalculator.js index ca6328a7..45ff4545 100644 --- a/tools/emiCalculator.js +++ b/tools/emiCalculator.js @@ -20,4 +20,13 @@ function calculateEMI() { document.getElementById('monthlyEMI').textContent = 'INR ' + emi.toFixed(2); document.getElementById('totalPayment').textContent = 'INR ' + totalPayment.toFixed(2); document.getElementById('totalInterestPaid').textContent = 'INR ' + totalInterestPaid.toFixed(2); -} \ No newline at end of file +} +function clearEMI() { + document.getElementById('loanAmount').value = ''; + document.getElementById('interestRate').value = ''; + document.getElementById('loanTenure').value = ''; + document.getElementById('monthlyEMI').innerText = ''; + document.getElementById('totalPayment').innerText = ''; + document.getElementById('totalInterestPaid').innerText = ''; + } + \ No newline at end of file diff --git a/tools/expenditureandsaving.js b/tools/expenditureandsaving.js index 31f60cd8..133a5121 100644 --- a/tools/expenditureandsaving.js +++ b/tools/expenditureandsaving.js @@ -17,3 +17,34 @@ document.getElementById('calculateBtn').addEventListener('click', function() { document.getElementById('savingsAmount').textContent = savings.toFixed(2); }); +document.getElementById('calculateBtn').addEventListener('click', function() { + const income = parseFloat(document.getElementById('monthly-income').value); + const expenditure = parseFloat(document.getElementById('monthly-expenditure').value); + + if (isNaN(income) || isNaN(expenditure)) { + alert('Please enter valid numbers for income and expenditure.'); + return; + } + + const savings = income - expenditure; + document.getElementById('savingsAmount').innerText = savings.toFixed(2); +}); + +document.getElementById('calculateBtn').addEventListener('click', function() { + const income = parseFloat(document.getElementById('monthly-income').value); + const expenditure = parseFloat(document.getElementById('monthly-expenditure').value); + + if (isNaN(income) || isNaN(expenditure)) { + alert('Please enter valid numbers for income and expenditure.'); + return; + } + + const savings = income - expenditure; + document.getElementById('savingsAmount').innerText = savings.toFixed(2); +}); + +document.getElementById('clearBtn').addEventListener('click', function() { + document.getElementById('monthly-income').value = ''; + document.getElementById('monthly-expenditure').value = ''; + document.getElementById('savingsAmount').innerText = '0.00'; +}); diff --git a/tools/insuranceCalculator.js b/tools/insuranceCalculator.js index 91fb2fca..ccc92227 100644 --- a/tools/insuranceCalculator.js +++ b/tools/insuranceCalculator.js @@ -38,4 +38,20 @@ function calculateInsurance() { document.getElementById('TotalBonus').textContent = 'Total Bonus: ₹' + TotalBonus.toFixed(2); document.getElementById('TotalPremium').textContent = 'Total Premium: ₹' + TotalPremium.toFixed(2); document.getElementById('netGain').textContent = 'Net Gain: ₹' + netGain.toFixed(2); -} \ No newline at end of file +} + +function clearInsurance() { + document.getElementById('Sumassured').value = ''; + document.getElementById('Policyterm').value = ''; + document.getElementById('Annualpremium').value = ''; + document.getElementById('ReversionaryBonus').value = ''; + document.getElementById('TerminalBonus').value = ''; + document.getElementById('surrendered').checked = false; + document.getElementById('death').checked = false; + document.getElementById('ReversionaryBonusAmt').innerText = ''; + document.getElementById('TerminalBonusAmt').innerText = ''; + document.getElementById('TotalBonus').innerText = ''; + document.getElementById('TotalPremium').innerText = ''; + document.getElementById('netGain').innerText = ''; + } + \ No newline at end of file diff --git a/tools/npvCalculator.js b/tools/npvCalculator.js index fe0548c5..2f865565 100644 --- a/tools/npvCalculator.js +++ b/tools/npvCalculator.js @@ -40,3 +40,45 @@ function calculateNPV() { document.getElementById('npvResult').textContent = npv.toFixed(2); } + +function clearNPV() { + document.getElementById('initialInvestment').value = ''; + document.getElementById('discountRate').value = ''; + document.getElementById('cashFlows').innerHTML = ''; + document.getElementById('npvResult').innerText = ''; + } + + function addCashFlow() { + const cashFlowsContainer = document.getElementById('cashFlows'); + const year = cashFlowsContainer.children.length + 1; + const cashFlowInput = document.createElement('div'); + cashFlowInput.innerHTML = ` +
+ Year ${year} Cash Flow (INR) + + +
+
+ `; + cashFlowsContainer.appendChild(cashFlowInput); + } + + function removeCashFlow(button) { + const cashFlowDiv = button.parentElement; + cashFlowDiv.parentElement.removeChild(cashFlowDiv); + } + + function calculateNPV() { + const initialInvestment = parseFloat(document.getElementById('initialInvestment').value); + const discountRate = parseFloat(document.getElementById('discountRate').value) / 100; + const cashFlowElements = document.getElementsByName('cashFlow'); + let npv = -initialInvestment; + + cashFlowElements.forEach((element, index) => { + const cashFlow = parseFloat(element.value); + npv += cashFlow / Math.pow(1 + discountRate, index + 1); + }); + + document.getElementById('npvResult').innerText = npv.toFixed(2); + } + \ No newline at end of file diff --git a/tools/roiCalculator.js b/tools/roiCalculator.js index fb4317c2..0d845593 100644 --- a/tools/roiCalculator.js +++ b/tools/roiCalculator.js @@ -14,3 +14,28 @@ document.addEventListener('DOMContentLoaded', function() { document.getElementById('result').textContent = `ROI: ${roi.toFixed(2)}%`; }); }); + +function clearROI() { + document.getElementById('roi-form').reset(); + document.getElementById('gl').innerText = ''; + document.getElementById('result').innerText = ''; +} + +document.getElementById('roi-form').addEventListener('submit', function(event) { + event.preventDefault(); + calculateROI(); +}); + +function calculateROI() { + const invested = parseFloat(document.getElementById('invested').value); + const returned = parseFloat(document.getElementById('return').value); + + if (isNaN(invested) || isNaN(returned)) { + alert('Please enter valid numbers for both fields.'); + return; + } + + const roi = ((returned - invested) / invested) * 100; + document.getElementById('gl').innerText = 'Gross Return: Rs. ' + (returned - invested).toFixed(2); + document.getElementById('result').innerText = 'ROI: ' + roi.toFixed(2) + '%'; +} diff --git a/tools/sip.html b/tools/sip.html index 3fb48eec..dc3775fc 100644 --- a/tools/sip.html +++ b/tools/sip.html @@ -357,23 +357,23 @@

Mutual Fund Investment Calculator

-

The Mutual Fund Investment Calculator helps you estimate the potential returns of your investments, whether through Systematic Investment Plans (SIP) or LumpSum investments. +

+ The Mutual Fund Investment Calculator helps you estimate the potential returns of your investments, whether through Systematic Investment Plans (SIP) or LumpSum investments. By inputting your monthly investment amount, investment duration, and expected annual return rate, this tool calculates the total investment, wealth gained, and maturity value, providing a clear - picture of your investment growth.

-
- -
-
Here's how it works:
- -
    -
  1. Monthly Investment: Enter the amount you plan to invest monthly.
  2. -
  3. Time Period (years): Specify the number of years for the investment.
  4. -
  5. Expected Return Rate (p.a.): Enter the annual return rate you expect.
  6. -
  7. Calculate: Computes the total investment, wealth gained, and maturity value based on inputs.
  8. -
- -
-
+ picture of your investment growth. +

+
+ +
+
Here's how it works:
+
    +
  1. Monthly Investment: Enter the amount you plan to invest monthly.
  2. +
  3. Time Period (years): Specify the number of years for the investment.
  4. +
  5. Expected Return Rate (p.a.): Enter the annual return rate you expect.
  6. +
  7. Calculate: Computes the total investment, wealth gained, and maturity value based on inputs.
  8. +
+
+
@@ -385,14 +385,11 @@
Here's how it w
-
@@ -410,9 +407,8 @@

Here's how it w
- + +

Result :
@@ -437,28 +433,30 @@
Here's how it w
Maturity Value
Rs. 
+ - + +

EMI Calculator

-

The EMI (Equated Monthly Installment) Calculator assists in calculating the monthly installment amount for a loan based on the loan amount, interest rate, and loan tenure. - It provides insights into the total payment and total interest paid over the loan period, helping you plan your finances better.

-
- -
-
Here's how it works:
- -
    -
  1. Loan Amount: Enter the principal amount of the loan.
  2. -
  3. Interest Rate: Specify the annual interest rate.
  4. -
  5. Loan Tenure (years): Enter the loan period in years.
  6. -
  7. Calculate EMI: Provides the monthly EMI, total payment, and total interest.
  8. -
- -
+

+ The EMI (Equated Monthly Installment) Calculator assists in calculating the monthly installment amount for a loan based on the loan amount, interest rate, and loan tenure. + It provides insights into the total payment and total interest paid over the loan period, helping you plan your finances better. +

+
+ +
+
Here's how it works:
+
    +
  1. Loan Amount: Enter the principal amount of the loan.
  2. +
  3. Interest Rate: Specify the annual interest rate.
  4. +
  5. Loan Tenure (years): Enter the loan period in years.
  6. +
  7. Calculate EMI: Provides the monthly EMI, total payment, and total interest.
  8. +
+
@@ -476,9 +474,10 @@
Here's how it w
+

-
Result :
+
Result :
Monthly EMI
@@ -492,387 +491,388 @@
Here's how it w
-
+

Savings Goal Calculator

-

The Savings Goal Calculator is designed to help you determine how much you need to save monthly to reach your financial goals. By entering your goal amount, current savings, monthly savings, and expected annual interest rate, this calculator shows the time required to achieve your goal.

-
- -
-
Here's how it works:
- -
    -
  1. Goal Amount: Enter your financial goal amount.
  2. -
  3. Current Savings: Enter the amount you have already saved.
  4. -
  5. Monthly Savings: Specify the amount you plan to save monthly.
  6. -
  7. Interest Rate: Enter the expected annual interest rate.
  8. -
  9. Calculate Savings Goal: Calculates the time needed to reach your goal.
  10. -
- -
-
- -
-
-
-
Savings Goal Amount (INR)
-
-
-
Current Savings (INR)
-
-
-
Time Period (Months)
-
-
-
-
-
- -
-
-
-
Result:
-
-
-
-
-
- - - - -
-

Insurance Calculator

-

The Insurance Calculator estimates the benefits of an insurance policy - based on the sum assured, policy term, and annual premium. This tool helps you understand the potential returns from your insurance policy and plan your coverage effectively.

-
- -
-
Here's how it works:
- -
    -
  1. Goal Amount: Enter your financial goal amount.
  2. -
  3. Current Savings: Enter the amount you have already saved.
  4. -
  5. Monthly Savings: Specify the amount you plan to save monthly.
  6. -
  7. Interest Rate: Enter the expected annual interest rate.
  8. -
  9. Calculate Savings Goal: Calculates the time needed to reach your goal.
  10. -
- -
+

+ The Savings Goal Calculator is designed to help you determine how much you need to save monthly to reach your financial goals. By entering your goal amount, current savings, monthly savings, and expected annual interest rate, this calculator shows the time required to achieve your goal. +

+
+ +
+
Here's how it works:
+
    +
  1. Goal Amount: Enter your financial goal amount.
  2. +
  3. Current Savings: Enter the amount you have already saved.
  4. +
  5. Monthly Savings: Specify the amount you plan to save monthly.
  6. +
  7. Interest Rate: Enter the expected annual interest rate.
  8. +
  9. Calculate Savings Goal: Calculates the time needed to reach your goal.
  10. +
+
+
-
Sum assured (INR)
-
-
-
Policy term (Years)
-
-
-
Annual premium (%)
-
-
-
Reversionary Bonus (%)
-
+
Savings Goal Amount (INR)
+

-
Terminal Bonus (%)
-
+
Current Savings (INR)
+

-
- Early Surrendered -
-
-
- Policyholder's Death -
+
Monthly Savings (INR)
+

+
Interest Rate (%)
+

- + +

-
-
Result :
-

-

-

-

-

+
+
Result:
+
+
+ + + + + +
+

Insurance Calculator

+

+ The Insurance Calculator estimates the benefits of an insurance policy based on the sum assured, policy term, and annual premium. This tool helps you understand the potential returns from your insurance policy and plan your coverage effectively. +

+
+ +
+
Here's how it works:
+
    +
  1. Sum assured: Enter the sum assured amount.
  2. +
  3. Policy term: Enter the policy term in years.
  4. +
  5. Annual premium: Enter the annual premium percentage.
  6. +
  7. Reversionary Bonus: Enter the reversionary bonus percentage.
  8. +
  9. Terminal Bonus: Enter the terminal bonus percentage.
  10. +
  11. Calculate Insurance: Calculates the insurance benefits based on the inputs.
  12. +
+
+
+
+
+
+
+
Sum assured (INR)
+
+
+
Policy term (Years)
+
+
+
Annual premium (%)
+
+
+
Reversionary Bonus (%)
+
+
+
Terminal Bonus (%)
+
+
+
+ Early Surrendered +
+
+
+ Policyholder's Death +
+
+
+
+
+ + +
+
+
+
Result :
+

+

+

+

+

+
+
+ -
-

Net Present Value
(NPV) Calculator

-

The NPV (Net Present Value) Calculator is a tool designed to help you evaluate the profitability of an investment by calculating the present value of expectedfuture cash flows. This calculator helps investors make informed decisions, ensuring that future cash flows are accurately evaluated in today's terms.

-
- -
-
Here's how it works:
+
+

Net Present Value
(NPV) Calculator

+

+ The NPV (Net Present Value) Calculator is a tool designed to help you evaluate the profitability of an investment by calculating the present value of expected future cash flows. This calculator helps investors make informed decisions, ensuring that future cash flows are accurately evaluated in today's terms. +

+
+ +
+
Here's how it works:

1. Initial Investment: Enter the amount of your initial investment.
- 2. Discount Rate: Enter the discount rate, which represents the rate of return required to make the - investment worthwhile.
- 3. Cash Flows: Add the expected cash flows for each year of the investment. You can add multiple cash - flow inputs for different years and remove any as needed.
- 4. Calculate NPV: Once all inputs are provided, click the 'Calculate NPV' button to compute the net - present value. The result will display the NPV, indicating the potential profitability of your investment.
+ 2. Discount Rate: Enter the discount rate, which represents the rate of return required to make the investment worthwhile.
+ 3. Cash Flows: Add the expected cash flows for each year of the investment. You can add multiple cash flow inputs for different years and remove any as needed.
+ 4. Calculate NPV: Once all inputs are provided, click the 'Calculate NPV' button to compute the net present value. The result will display the NPV, indicating the potential profitability of your investment.

+
-
-
-
-
-
Initial Investment (INR)
-
-
-
Discount Rate (%)
-
-
-
-
-
-
Cash Flow
-
- -
-
- -
-
-
-
- -
+
+
+
+
Initial Investment (INR)
+

-
-
Result :
-
-
NPV
-
Rs. 
-
-
+
Discount Rate (%)
+
+
+
+
+
+
Cash Flow
+
+
+
+ +
+
+
+
+ + +
+
+
+
Result :
+
+
NPV
+
Rs. 
+
+
+
+ - +

Return on Investment(ROI) Calculator

-

The ROI (Return on Investment) Calculator helps you measure the profitability of an investment. By inputting the initial investment amount and the final value of the investment, this tool - calculates the percentage return on investment, helping you assess the efficiency of your investment.

-
- -
-
Here's how it works:
- -
    -
  1. Initial Investment: Enter the initial investment amount.
  2. -
  3. Final Value: Enter the final value of the investment.
  4. -
  5. Calculate ROI: Determines the return on investment percentage.
  6. -
- -
-
+

+ The ROI (Return on Investment) Calculator helps you measure the profitability of an investment. By inputting the initial investment amount and the final value of the investment, this tool calculates the percentage return on investment, helping you assess the efficiency of your investment. +

+
+ +
+
Here's how it works:
+
    +
  1. Initial Investment: Enter the initial investment amount.
  2. +
  3. Final Value: Enter the final value of the investment.
  4. +
  5. Calculate ROI: Determines the return on investment percentage.
  6. +
+
+
- - + +
- - + +
+ +
+
+
+ Result: +
+
+
- -
- Result: -
-
-
-
+ + + - + +
+

Goods and Service Tax (GST) Calculator

+

The GST (Goods and Services Tax) Calculator computes the GST-inclusive or exclusive amount based on the original amount and the applicable GST rate. This tool simplifies the calculation of GST for various transactions.

+
+ +
+
Here's how it works:
+
    +
  1. Original Amount: Enter the original amount before GST.
  2. +
  3. GST Rate: Specify the GST rate.
  4. +
  5. Calculate GST: Computes the GST-inclusive or exclusive amount.
  6. +
+
+
+
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
Result:
+

+

+
+
+
+
+ + + + +
-

Goods and Service Tax (GST) Calculator

-

The GST (Goods and Services Tax) Calculator computes the GST-inclusive or exclusive amount based on the original amount and the applicable GST rate. - This tool simplifies the calculation of GST for various transactions.

+

Income Tax Calculator

+

The Income Tax Calculator determines the tax payable based on your annual income and applicable tax rate. It helps you estimate your tax liability and plan your finances accordingly.

- -
-
Here's how it works:
- + +
+
Here's how it works:
    -
  1. Original Amount: Enter the original amount before GST.
  2. -
  3. GST Rate: Specify the GST rate.
  4. -
  5. Calculate GST: Computes the GST-inclusive or exclusive amount.
  6. +
  7. Income: Enter your total annual income.
  8. +
  9. Tax Rate: Specify the applicable tax rate.
  10. +
  11. Calculate Tax: Computes the income tax based on the inputs.
- -
+
-
+
-
-
- - -
+
- - + +
- - + +
- - - + +
Result:
-

-

+

+

-
-
- - - - -
-

Income Tax Calculator

-

The Income Tax Calculator determines the tax payable based on your annual income and applicable tax rate. It helps you estimate your tax liability and plan your finances accordingly.

-
- -
-
Here's how it works:
- -
    -
  1. Income: Enter your total annual income.
  2. -
  3. Tax Rate: Specify the applicable tax rate.
  4. -
  5. Calculate Tax: Computes the income tax based on the inputs.
  6. -
- -
-
-
-
-
-
-
- - -
-
- - -
-
- -
-
-
-
Result:
-

-

-
-
-
-
+ -
-

Profit Margin Calculator

-

The Profit Margin Calculator calculates the profit margin percentage based on the revenue and cost inputs. This tool helps businesses and individuals assess their profitability and make informed pricing and cost management decisions.

-
- -
-
Here's how it works:
- -
    -
  1. Income: Enter your total annual income.
  2. -
  3. Tax Rate: Specify the applicable tax rate.
  4. -
  5. Calculate Tax: Computes the income tax based on the inputs.
  6. -
- -
-
+
+

Profit Margin Calculator

+

The Profit Margin Calculator calculates the profit margin percentage based on the revenue and cost inputs. This tool helps businesses and individuals assess their profitability and make informed pricing and cost management decisions.

+
+ +
+
Here's how it works:
+
    +
  1. Cost Price: Enter the cost price of the product.
  2. +
  3. Selling Price: Enter the selling price of the product.
  4. +
  5. Calculate Profit Margin: Computes the profit margin based on the inputs.
  6. +
+
-
- -
-
-
-
-
- - -
-
- - -
-
- - +
+ +
+
+
+ +
+ + +
+
+ + +
+
+ + +
+ +
+
Result:
+

- -
-
Result:
-

-
- + @@ -880,54 +880,50 @@
Result:
+

Expenditure and Savings Calculator

-

The Profit Margin Calculator calculates the profit margin percentage based on the revenue and cost inputs. This tool helps businesses and individuals assess their profitability and make informed pricing and cost management decisions.

-
- -
-
Here's how it works:
- -
    -
  1. Income: Enter your total monthly income.
  2. -
  3. Expenses: List your monthly expenses.
  4. -
  5. Calculate Savings: Analyzes and provides your monthly savings.
  6. -
- - -
-
+

The Expenditure and Savings Calculator helps you analyze your monthly savings based on your income and expenses. This tool assists in managing your finances effectively.

+
+ +
+
Here's how it works:
+
    +
  1. Income: Enter your total monthly income.
  2. +
  3. Expenses: List your monthly expenses.
  4. +
  5. Calculate Savings: Analyzes and provides your monthly savings.
  6. +
+
- +
+
-
-
-
- - -
-
- - -
-
- - -
-
-
-
Result:
-

Your Savings: $0.00

-
+
+
+
+ + +
+
+ + +
+
+ + +
+
+
+
Result:
+

Your Savings: $0.00

+
- - @@ -1003,114 +999,110 @@
Result:
- -
-

Systematic Withdrawal Plan Calculator

-

The SWP (Systematic Withdrawal Plan) calculator is a financial tool that helps investors plan and manage the regular withdrawal of funds from their investment corpus, typically mutual funds. SWP is used to generate a steady income stream, often for retirees or those looking to supplement their income.

-
- -
-
Here's how it works:
-
    -
  1. Total Investment: Enter your total investment.
  2. -
  3. Withdrawal Per Month: Enter your withdrawal per month.
  4. -
  5. Expected Return Rate (p.a): Enter your expected return rate (p.a).
  6. -
  7. Total Period (in years): Enter your total period of investment in years.
  8. -
  9. Remaining Amount: Analyzes and provides the remaining balance of your investment after scheduled withdrawals, total amount withdrawn, and the duration the investment will last.
  10. -
-
-
-
- -
-
-
-
-
-
- - -
- -
- - -
- -
- - -
- -
- - -
- -
- -
-
-
-
-
Result:
-

Your Remaining Amount:

-
-
-
-
- - - - + + +
+

Systematic Withdrawal Plan Calculator

+

The SWP (Systematic Withdrawal Plan) calculator is a financial tool that helps investors plan and manage the regular withdrawal of funds from their investment corpus, typically mutual funds. SWP is used to generate a steady income stream, often for retirees or those looking to supplement their income.

+
+ +
+
Here's how it works:
+
    +
  1. Total Investment: Enter your total investment.
  2. +
  3. Withdrawal Per Month: Enter your withdrawal per month.
  4. +
  5. Expected Return Rate (p.a): Enter your expected return rate (p.a).
  6. +
  7. Total Period (in years): Enter your total period of investment in years.
  8. +
  9. Remaining Amount: Analyzes and provides the remaining balance of your investment after scheduled withdrawals, total amount withdrawn, and the duration the investment will last.
  10. +
+
+
+
+ +
+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+
Result:
+

Your Remaining Amount:

+
+
+
+
+ - + +

Credit Card Payoff Calculator

Calculate how long it will take to pay off your credit card balance with this calculator. Enter your balance, APR, and monthly payment to get started.

- -
-
Here's how it works:
-
    -
  1. Credit Card Balance: Enter your current credit card balance.
  2. -
  3. Annual Percentage Rate (APR): Input the annual interest rate on your credit card.
  4. -
  5. Monthly Payment: Enter the amount you can pay each month.
  6. -
-
+ +
+
Here's how it works:
+
    +
  1. Credit Card Balance: Enter your current credit card balance.
  2. +
  3. Annual Percentage Rate (APR): Input the annual interest rate on your credit card.
  4. +
  5. Monthly Payment: Enter the amount you can pay each month.
  6. +
+
-
- -
+
+ +
-
-
-
- - -
-
- - -
-
- - -
-
- -
-
-
-
Result:
-

Months to Pay Off: 0

-

Total Interest Paid: ₹0.00

-
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
Result:
+

Months to Pay Off: 0

+

Total Interest Paid: ₹0.00

+
-
- - +
+ diff --git a/tools/sipcalculatorJs.js b/tools/sipcalculatorJs.js index a0bab8e9..2ee1f0ff 100644 --- a/tools/sipcalculatorJs.js +++ b/tools/sipcalculatorJs.js @@ -128,3 +128,14 @@ document.addEventListener("DOMContentLoaded", function () { }); }); }); +function clearAll() { + document.getElementById('investment').value = ''; + document.getElementById('years').value = ''; + document.getElementById('return-rate').value = ''; + document.getElementById('total').innerText = ''; + document.getElementById('wealth-gained').innerText = ''; + document.getElementById('maturity-value').innerText = ''; + document.getElementById('input-1').innerText = ''; + document.getElementById('input-2').innerText = ''; + document.getElementById('input-3').innerText = ''; +} From 4905e52a4efb1c337c43f428d688a38fcceb0f19 Mon Sep 17 00:00:00 2001 From: Suhani Singh Paliwal <161575955+suhanipaliwal@users.noreply.github.com> Date: Thu, 8 Aug 2024 01:19:01 +0530 Subject: [PATCH 06/20] Create documentation.yml --- .github/ISSUE_TEMPLATE/documentation.yml | 37 ++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/documentation.yml diff --git a/.github/ISSUE_TEMPLATE/documentation.yml b/.github/ISSUE_TEMPLATE/documentation.yml new file mode 100644 index 00000000..cfd03723 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/documentation.yml @@ -0,0 +1,37 @@ +name: "📝 Documentation" +description: "Use this format to suggest improvements in our docs" +title: "📝[DOCS] " +labels: ["documentation", "goal: enhancement"] + +body: + - type: textarea + id: docs_description + attributes: + label: "Issue Description" + description: "A brief summary of the documentation issue you would like to address." + validations: + required: true + + - type: textarea + id: screenshots_examples_docs + attributes: + label: "Screenshots or Examples (if applicable)" + description: "Please add relevant screenshots or examples to illustrate the problem." + + - type: checkboxes + id: terms_checklist_docs + attributes: + label: "Checklist" + description: "By submitting this issue, you agree to follow our Code of Conduct" + options: + - label: "I have checked the existing issues." + required: true + + - label: "I have read the Contributing Guidelines." + required: true + + - label: "I have read the Code Of Conduct." + required: true + + - label: "The changes doesn't break the code" + required: true From 24f0a50aef72db13b433089193a2b5b9bb7563da Mon Sep 17 00:00:00 2001 From: Maheshwari Love Date: Thu, 8 Aug 2024 09:00:05 +0530 Subject: [PATCH 07/20] added styles --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 600275a5..488a5729 100644 --- a/index.html +++ b/index.html @@ -1427,7 +1427,7 @@

Thank you for your Feedback!!