-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex4.html
59 lines (50 loc) · 2.45 KB
/
index4.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!---
Compound Interest Calculator HTML File (Yearly Compound Interval)
author(Joshua Thomas)
date(13.01.2022)
version:1.0
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Compound Interest Calculator</title>
<!--html2pdf link for turning container info class into a pdf document-->
<script src="https://raw.githack.com/eKoopmans/html2pdf/master/dist/html2pdf.bundle.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<!--Button for light and dark mode toggle-->
<button class="light-dark-btn" id="toggle_btn" onclick="toggle()">Light/Dark</button>
<!--Navigation bar for Daily, Monthly and Yearly sepreate web pages-->
<header>
<ul>
<li class="main-nav"><a href="index3.html" class="hover-link"><b>DAILY (365/YR)</b></a></li>
<li class="main-nav"><a href="index2.html" class="hover-link"><b>MONTHLY (12/YR)</b></a></li>
<li class="main-nav"><a href="index.html" class="hover-link"><b>YEARLY (1/YR)</b></a></li>
<li class="main-nav"><a href="index4.html" class="active"><b>SIMPLE INTEREST</b></a></li>
</ul>
</header>
<!--Main content for header and container-->
<div id="container_info">
<h1>Simple Interest Calculator</h1>
<h3>This calculates an amount that includes principle plus interest</h3>
<div class="container">
<label for="principle" class="text-1">Principle Amount</label>
<input class="principle-input" id="principle" autocomplete="off" required>
<label for="interest" class="text-2">Interest Rate (In %) </label>
<input class="interest-input" id="interest" autocomplete="off" required>
<label for="duration" class="text-3">Duration in years</label>
<input class="duration-input" id="duration" autocomplete="off" required>
<button class="btn" id="btn_">Calculate</button>
<input class="output-area" id="output" disabled>
</div>
</div>
<div class="download-area">
</div>
<!---Importing JavaScript file for index.html (Yearly Compound Interval)-->
<script type="text/javascript" src="script4.js"></script>
</body>
</html>