-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathstockreturn.html
113 lines (101 loc) · 4.09 KB
/
stockreturn.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<title>Stock Return Calculator</title>
<!-- Styles -->
<link rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" />
<link rel="stylesheet"
href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
<link rel="stylesheet"
href="../../assets/styles/style.css" />
<link rel="stylesheet" text="text/css"
href="./stockreturn.css" />
<script src="stockreturn.js"></script>
</head>
<body>
<!-- Navbar -->
<nav class="site-header sticky-top py-1 text-light">
<div class="container d-flex flex-column flex-md-row justify-content-between align-items-center" id="uNavbar">
<a class="py-2 text-light" href="../../index.html">
<i class="fa fa-cogs fa-2x" aria-hidden="true"></i>
</a>
<!-- Dynamic Navbar Elements -->
<div class="btn-group d-none d-md-block py-2">
<button type="button" class="btn btn-link text-light text-decoration-none"><a href="https://backgroundgradients.com/" class="text-light">Background Gradients</a> </button>
</div>
</div>
</nav>
<!-- Navbar End -->
<!-- Stock Return -->
<div class="container1">
<div class="calculator-stockreturn">
<div class="inputs">
<label>Intial Stock Price</label>
<input type="text" name="intialprice" id="intialprice" />
</div><br>
<div class="inputs">
<label>Ending Stock Price</label>
<input type="text" name="endingprice" id="endingprice" />
</div><br>
<div class="inputs">
<label>Dividends</label>
<input type="text" name="dividends" id="dividends" />
</div><br>
<div class="inputs">
<label>Years of Investment</label>
<input type="text" name="time" id="time" />
</div><br>
<div class="container1">
<button class="btn-calculate" onclick="StockReturn()">
Calculate
</button>
</div>
<div class="outputs">
<label>Stock Return Rate </label>
<input type="text" name="cial1" id="stockreturnvalue"/><span>%</span>
</div><br>
<div class="outputs">
<label>Compound Annual Growth Rate</label><span>%</span>
<input type="text" name="cial2" id="compoundgrowth"/>
</div>
</div>
</div>
<!-- Stock Return End -->
<style>
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
color: rgba(15, 1, 1, 0.822);
}
</style>
<div class="footer">
<!-- Footer -->
<footer class="border-top py-3 px-4">
<div class="row align-items-center">
<div class="col-md-6">
<p class="m-0">Copyright © 2020 codeezzi</p>
<p class="m-0">Page Created by <a href="https://github.com/Salonii02" target="_blank">Saloni Sawarkar</a></p>
</div>
<div class="col-md-6 text-md-right">
<a href="#" class="text-dark">Terms of Use</a>
<span class="text-muted mx-2">|</span>
<a href="#" class="text-dark">Privacy Policy</a>
</div>
</div>
</footer>
</div>
<!-- Footer End -->
<!-- Global Scripts: Should load in all pages -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<script src="../../assets/config/categories.js"></script>
<script src="../../assets/config/tools.js"></script>
<script src="../../assets/scripts/templates.js"></script>
<script src="../../assets/scripts/app.js"></script>
<!-- END of Global Scripts -->
</body>
</html>