42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html>
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<title>Future Value Calculator</title>
|
||
|
<link rel="stylesheet" href="future_value.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<main>
|
||
|
<h1>The Future Value Calculator</h1>
|
||
|
<div>
|
||
|
<label for="investment">Investment amount:</label>
|
||
|
<input type="text" id="investment">
|
||
|
<span>*</span>
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="rate">Interest rate:</label>
|
||
|
<input type="text" id="rate">
|
||
|
<span>*</span>
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="years">Years:</label>
|
||
|
<input type="text" id="years">
|
||
|
<span>*</span>
|
||
|
</div>
|
||
|
<div>
|
||
|
<label for="future_value">Future value:</label>
|
||
|
<input type="text" id="future_value" disabled>
|
||
|
</div>
|
||
|
<div>
|
||
|
<label> </label>
|
||
|
<input type="button" id="calculate" value="Calculate">
|
||
|
</div>
|
||
|
|
||
|
<p id="date"> </p>
|
||
|
</main>
|
||
|
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js"></script>
|
||
|
<script src="future_value.js"></script>
|
||
|
</body>
|
||
|
</html>
|