generated from ibm-developer-skills-network/coding-project-template
-
Notifications
You must be signed in to change notification settings - Fork 18
/
index.html
34 lines (31 loc) · 1.01 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500&display=swap" rel="stylesheet" />
</head>
<body>
<div class="container">
Interest Rate Calculator
<div class="input-wrapper">
<div class="wrapper">
<label for="principal">Principal Amount</label>
<input type="number" id="principal" value="1000" />
</div>
</div>
<div class="input-wrapper">
<div class="wrapper">
<label for="rate">Rate (%)</label>
<input type="number" id="rate" value="5" />
</div>
</div>
<div class="input-wrapper">
<div class="wrapper">
<label for="time">Time (Years)</label>
<input type="number" id="time" value="1" />
</div>
</div>
<button id="calculate-btn" onclick="calculate()">Calculate</button>
<div id="result"></div>
</div>
</body>
</html>