-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcalculator.html
36 lines (35 loc) · 939 Bytes
/
calculator.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Load Calculator</title>
<script type="text/javascript" src="calculator.js"></script>
<link rel="stylesheet" href="calculator.css">
</head>
<body>
<header>
<h1>Loan Calculator 💰💲💵</h1>
</header>
<section class="calc-container">
<form id="calc-form">
<label>
Loan Amount
<input type="text" id="loan-amount">
</label>
<label>
Term in Years
<input type="text" id="loan-years">
</label>
<label>
Yearly Rate
<input type="text" id="loan-rate">
</label>
<button type="submit" id="calc-submit">Calculate</button>
</form>
<div>
<h3>Monthly Payment<h3>
<span id="monthly-payment"></span>
</div>
</section>
</body>
</html>