Skip to content

Commit b05ff78

Browse files
committed
update html file
1 parent 59d668e commit b05ff78

File tree

1 file changed

+19
-15
lines changed

1 file changed

+19
-15
lines changed

Loan Calculator/index.html

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,25 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
34
<head>
4-
<meta charset="UTF-8">
5-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<link rel="stylesheet" href="style.css">
8-
<title>Loan Calculator</title>
5+
<meta charset="UTF-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<link rel="stylesheet" href="style.css">
9+
<title>Loan Calculator</title>
910
</head>
10-
<body>
11-
<div class="container">
12-
<h3>Loan Calculator</h3>
13-
<p>Loan Amount: <input type="number" value="1" id="amount" min="0" onchange="calculateLoan()"></p>
14-
<p>Interest Rate: <input type="number" value="0.1" id="interest" min="0" onchange="calculateLoan()"> % </p>
15-
<p>Months to Pay: <input type="number" value="1" id="months" min="0" onchange="calculateLoan()"> </p>
1611

17-
<h2 id="payment"></h2>
18-
</div>
19-
<script src="script.js"></script>
12+
<body>
13+
<div class="container">
14+
<h3>Loan Calculator</h3>
15+
<p>Loan Amount:
16+
<input type="number" value="1" id="amount" min="0" onchange="calculateLoan()"></p>
17+
<p>Interest Rate:
18+
<input type="number" value="0.1" id="interest" min="0" onchange="calculateLoan()"> % </p>
19+
<p>Months to Pay:
20+
<input type="number" value="1" id="months" min="0" onchange="calculateLoan()"> </p>
21+
<h2 id="payment"></h2> </div>
22+
<script src="script.js"></script>
2023
</body>
21-
</html>
24+
25+
</html>

0 commit comments

Comments
 (0)