@@ -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