Skip to content

Commit a4e548a

Browse files
Refactor comments in index.html script section
Updated comments in the script section to improve clarity. Signed-off-by: abdurhamanmohammeda-a11y <abdurhamanmohammeda@gmail.com>
1 parent 8a0bc66 commit a4e548a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ <h1>🛠 Abdurhaman Mechatronics</h1>
5454
</header>
5555

5656
<img src="Maashinii.jpg" alt="SBM Machine" onerror="this.src='https://via.placeholder.com/800x400/161b22/39FF14?text=Check+Image+Name';">
57-
// Software Function 1: Production Logic
57+
<script> // Software Function 1: Production Logic
5858
function calculateTPH() {
5959
let feed = document.getElementById('feedRate').value;
6060
let density = document.getElementById('density').value || 2.6;
@@ -66,7 +66,7 @@ <h1>🛠 Abdurhaman Mechatronics</h1>
6666
}
6767
}
6868

69-
// Software Function 2: Maintenance Logic (Predictive)
69+
Software Function 2: Maintenance Logic (Predictive)
7070
function checkMaintenance() {
7171
let hours = document.getElementById('workHours').value;
7272
let result = document.getElementById('maintResult');
@@ -83,7 +83,7 @@ <h1>🛠 Abdurhaman Mechatronics</h1>
8383
}
8484
}
8585

86-
// Diagnostics Bal'ifame (E01-E10)
86+
Diagnostics Bal'ifame (E01-E10)
8787
function interpretFault() {
8888
const faults = {
8989
"E01": "Phase Failure: Power supply issue.",
@@ -95,7 +95,7 @@ <h1>🛠 Abdurhaman Mechatronics</h1>
9595
let code = prompt("Enter Code (E01, E02, E05, E08, E10):").toUpperCase();
9696
alert(faults[code] || "Consult Abdurhaman for manual diagnosis.");
9797
}
98-
98+
</script>
9999
<div class="card">
100100
<h2>🩺 Diagnostics</h2>
101101
<button onclick="checkMachineHealth()" class="btn btn-diag" style="width:100%;">Check Temperature Status</button>

0 commit comments

Comments
 (0)