Skip to content

Commit

Permalink
modified index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
chimela-mc committed Nov 9, 2024
1 parent cfd15f1 commit 22a90a2
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
<!doctype html>
<html>
<head>
<title>Web App to compute Simple interest</title>
<script src="script.js"></script>
<link rel="stylesheet" href="style.css">
</head>
<body>
<h1>Simple Interest Calculator</h1>

Amount <input type="number" id="principal"> <br/>
Rate <input type="number" id="rate"> <br/>
No. of Years <input type="number" id="years"> <br/>
<input type="number" id="principal"> Amount <br/>
<input type="number" id="rate"> Rate <br/>
<input type="number" id="years"> No. of Years <br/>
Interest : <span id="result"></span><br>

"simple_interest_calc.html" 21L 542C written
<button onclick="compute()">Compute</button>
</body>
</html>

0 comments on commit 22a90a2

Please sign in to comment.