35 lines
		
	
	
		
			991 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			35 lines
		
	
	
		
			991 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
<!DOCTYPE html>
 | 
						|
<!--Copyright 2016 Joshua Mudge Licensed under the Apache License 2.0. See license file for information.-->
 | 
						|
<html>
 | 
						|
<head>
 | 
						|
  <script src="calculate.js"></script>
 | 
						|
  <meta charset="utf-8">
 | 
						|
  <title>Compound</title>
 | 
						|
</head>
 | 
						|
<body>
 | 
						|
<h1>Compound</h1>
 | 
						|
<br>
 | 
						|
Enter the initial investment amount.
 | 
						|
<p></p>
 | 
						|
<input type="number" id="amount"></input>
 | 
						|
<br><br><br><br>
 | 
						|
Enter the number of years to grow.
 | 
						|
<br><br>
 | 
						|
<input type="number" id="time"></input>
 | 
						|
<br><br><br><br>
 | 
						|
Please enter the amount of money you will contribute annually.
 | 
						|
<br><br>
 | 
						|
<input type="number" id="contribution"></input>
 | 
						|
<br><br><br><br>
 | 
						|
Enter the percentage rate of the investment.
 | 
						|
<br><br>
 | 
						|
<input type="number" id="rate"></input>
 | 
						|
<br><br>
 | 
						|
<input type="button" value="Calculate Interest" onclick="calculate()" />
 | 
						|
<p id="interest"></p>
 | 
						|
<br><br><br><br><br>
 | 
						|
<p>© 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>
 | 
						|
</body>
 | 
						|
</html>
 |