Skip to content

Commit c39cf62

Browse files
Add production calculator and maintenance tracker sections
Signed-off-by: abdurhamanmohammeda-a11y <abdurhamanmohammeda@gmail.com>
1 parent 7e286a3 commit c39cf62

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

index.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,22 @@ <h2>👨‍🔧 Contact via WhatsApp</h2>
7878
💬 Send Message via WhatsApp
7979
</a>
8080
</div>
81-
</div>
81+
<div class="card">
82+
<h2>📊 Production Calculator</h2>
83+
<p>Estimate tons per hour (TPH):</p>
84+
<input type="number" id="feedRate" placeholder="Feed Rate (m³/hr)">
85+
<input type="number" id="density" placeholder="Rock Density (Standard 2.6)">
86+
<button onclick="calculateTPH()" class="btn btn-diag">Calculate TPH</button>
87+
<p id="tphResult" style="color: var(--primary); font-weight: bold; text-align: center;"></p>
88+
</div>
89+
90+
<div class="card">
91+
<h2>📅 Maintenance Tracker</h2>
92+
<p>Hours since last greasing:</p>
93+
<input type="number" id="workHours" placeholder="Total hours worked">
94+
<button onclick="checkMaintenance()" class="btn btn-diag" style="background-color: #ff9800;">Check Maintenance Needs</button>
95+
<p id="maintResult" style="text-align: center; font-weight: bold;"></p>
96+
</div>
8297

8398
<footer style="text-align: center; color: #8b949e; font-size: 12px; padding: 20px;">
8499
&copy; 2026 Abdurhaman Mohammed

0 commit comments

Comments
 (0)