-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
168 lines (135 loc) · 6.1 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
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Set the document metadata -->
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Primary Meta Tags -->
<title>Dividend Income Investment Calculator - Free Tool to Plan Your Investments</title>
<meta name="title" content="Dividend Income Investment Calculator - Free Tool to Plan Your Investments">
<meta name="description" content="Calculate how much money you need to invest to earn a specific annual income based on the dividend yield of a share. Use our free Dividend Income Investment Calculator to help you plan your investments.">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://tools-45.web.app/">
<meta property="og:title" content="Dividend Income Investment Calculator - Free Tool to Plan Your Investments">
<meta property="og:description" content="Calculate how much money you need to invest to earn a specific annual income based on the dividend yield of a share. Use our free Dividend Income Investment Calculator to help you plan your investments.">
<meta property="og:image" content="https://tools-45.web.app/img/tools.jpg">
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image">
<meta property="twitter:url" content="https://tools-45.web.app/">
<meta property="twitter:title" content="Dividend Income Investment Calculator - Free Tool to Plan Your Investments">
<meta property="twitter:description" content="Calculate how much money you need to invest to earn a specific annual income based on the dividend yield of a share. Use our free Dividend Income Investment Calculator to help you plan your investments.">
<meta property="twitter:image" content="https://tools-45.web.app/img/tools.jpg">
<!-- Set the document title and include the CSS stylesheet -->
<link rel="stylesheet" href="./CSS/style.css">
</head>
<script src="https://unpkg.com/scrollreveal"></script>
<script src="https://code.iconify.design/3/3.1.0/iconify.min.js"></script>
<script async src="https://www.gateway-tt.in/assets/embed.js"></script>
<body>
<!-- TradingView Widget BEGIN -->
<div class="tradingview-widget-container" id="topChart">
<div class="tradingview-widget-container__widget"></div>
<script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-ticker-tape.js" async>
{
"symbols": [
{
"proName": "FOREXCOM:SPXUSD",
"title": "S&P 500"
},
{
"proName": "FOREXCOM:NSXUSD",
"title": "US 100"
},
{
"proName": "FX_IDC:EURUSD",
"title": "EUR/USD"
},
{
"proName": "BITSTAMP:BTCUSD",
"title": "Bitcoin"
},
{
"proName": "BITSTAMP:ETHUSD",
"title": "Ethereum"
}
],
"showSymbolLogo" :true,
"colorTheme": "light",
"isTransparent": false,
"displayMode": "adaptive",
"locale": "in"
}
</script>
</div>
<!-- TradingView Widget END -->
<!-- Create the rectangle box -->
<!-- <div class="box"> -->
<!-- Create the GitHub icon and position it in the top-left corner -->
<!-- <div class="github-icon"> -->
<!-- <img src="https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png" alt="GitHub icon">
<iconify-icon icon="mdi:github"></iconify-icon>
</div>
</div> -->
<div>
<a class="github" href="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/ajaynegi45/Investment-Calculator" target="_blank" rel="noopener noreferrer" >GitHub <span class="iconify" data-icon="logos:github-octocat"></span></a>
</div>
<!-- <h1 class="animate__animated animate__bounce">An animated element</h1> -->
<div class="flexdiv">
<a class="navlink" href="about.html">About</a>
<label class="switch">
<input type="checkbox"/>
<span class="slider"></span>
</label>
</div>
<div class="form">
<h1 class="title">Dividend Income Investment Calculator</h1>
<p></p>
<!-- Add labels and input fields for the user to input their data -->
<label class="money" for="moneyPerYear">How much money you want per year:</label>
<br>
<input type="number" id="moneyPerYear" name="moneyPerYear" placeholder="₹" required>
<br>
<label class="dividend" for="dividendYield">Dividend yield of a share:</label>
<br>
<input type="number" id="dividendYield" name="dividendYield" placeholder="%" required>
<br>
<!-- Add a button to trigger the calculation -->
<button id="calculate" onclick="calculate()">Calculate</button>
<br>
<!-- Add a label and paragraph element to display the result -->
<label for="result" id="result-label" class="vikas"></label>
<p id="result"></p>
<!-- Link to find Dividend Yield -->
<a href="https://www.angelone.in/calculators/dividend-yield-calculator#:~:text=The%20calculation%20is%20done%20using,335)%20*%20100%20%3D%203.58%25" class="a_tag">Click here to find Dividend Yield </a>
</div>
<div class="info">
<!-- TradingView Widget BEGIN -->
<h2 class="h2_title2" style="margin-bottom: 10px;">Market News 🗞️</h2>
<div class="tradingview-widget-container" id="news">
<div class="tradingview-widget-container__widget"></div>
<div class="tradingview-widget-copyright">Scroll up for more News 🗞️</div>
<script type="text/javascript" src="https://s3.tradingview.com/external-embedding/embed-widget-timeline.js" async>
{
"feedMode": "market",
"colorTheme": "light",
"isTransparent": false,
"displayMode": "regular",
"width": "100%",
"height": "620",
"locale": "in",
"market": "stock"
}
</script>
</div>
<!-- TradingView Widget END -->
</div>
<!-- Footer -->
<div class="footer">
<p class="p_footer">Developed with ❤️ by Ajay Negi.</p>
</div>
<!-- Include the JavaScript file for the calculation function -->
<script src="./Javascript/script.js"></script>
</body>
</html>