-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfinancial_analysis_page.html
71 lines (67 loc) · 3.14 KB
/
financial_analysis_page.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Financial Analysis Calculator - Wind Energy Explorer</title>
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
</head>
<body>
<nav class="sticky-navbar">
<ul class="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="wind_analysis_page.html">Wind Analysis</a></li>
<li><a href="financial_analysis_page.html">Financial Calculator</a></li>
<li><a href="emissions_analysis.html">CO₂ Reduction</a></li>
</ul>
</nav>
<header class="hero">
<div class="hero-content">
<h1 class="hero-title">Financial Analysis Calculator</h1>
<p class="hero-subtitle">Estimate Costs, Profits, and Payback Time</p>
</div>
</header>
<section class="financial-section">
<div class="financial-container">
<h2>Financial Inputs</h2>
<form id="financial-calculator">
<div class="form-group">
<label for="initial-cost">Initial Investment Cost (AUD):</label>
<input type="number" id="initial-cost" value="500000" required>
</div>
<div class="form-group">
<label for="maintenance-cost">Annual Maintenance Cost (AUD):</label>
<input type="number" id="maintenance-cost" value="20000" required>
</div>
<div class="form-group">
<label for="electricity-price">Price of Electricity (AUD per kWh):</label>
<input type="number" id="electricity-price" step="0.01" value="0.12" required>
</div>
<div class="form-group">
<label for="annual-energy">Annual Energy Production (kWh):</label>
<input type="number" id="annual-energy" value="6132000" required>
</div>
<button type="button" id="calculate-button">Calculate Financials</button>
</form>
<div class="financial-results-container" style="order: 1;">
<h3>Financial Results:</h3>
<p id="annual-revenue-result">Annual Revenue: </p>
<p id="payback-period-result">Payback Period: </p>
<p id="net-profit-result">Net Profit after Payback: </p>
<p id="households-powered-result">Number of Households Powered: </p>
</div>
</div>
<div class="chart-container" style="order: 2;">
<h2>Payback Period Over Time</h2>
<canvas id="payback-chart"></canvas>
</div>
</section>
<footer class="footer">
<p>© Alexander Piccinelli | Sima Vivaldi. </p>
<p>All rights reserved.</p>
</footer>
<script src="financial_analysis_script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</body>
</html>