35 lines
991 B

<!DOCTYPE html>
<!--Copyright 2016 Joshua Mudge Licensed under the Apache License 2.0. See license file for information.-->
<script src="calculate.js"></script>
<meta charset="utf-8">
Enter the initial investment amount.
<input type="number" id="amount"></input>
Enter the number of years to grow.
<input type="number" id="time"></input>
Please enter the amount of money you will contribute annually.
<input type="number" id="contribution"></input>
Enter the percentage rate of the investment.
<input type="number" id="rate"></input>
<input type="button" value="Calculate Interest" onclick="calculate()" />
<p id="interest"></p>
<p>&copy; Copyright 2017 Joshua Mudge</p>
<p>Licensed under the Apache License 2.0, see the <a href="LICENSE.txt">license</a> file for details.</p>