Skip to content

Commit 44351d7

Browse files
Update index.html
Signed-off-by: abdurhamanmohammeda-a11y <abdurhamanmohammeda@gmail.com>
1 parent e93b090 commit 44351d7

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,19 @@ <h2>💳 Payment / Kaffaltii</h2>
6565
<input type="text" id="name" style="width:100%; padding:10px; margin:5px 0;" placeholder="Maqaa Keessan" required>
6666
<textarea id="msg" style="width:100%; padding:10px; margin:5px 0;" placeholder="Rakkoo Maashinii..."></textarea>
6767
<button type="submit" class="btn btn-wa">💬 WhatsApp Ergi</button>
68-
</form>
68+
</form>
69+
function checkMachineStatus() {
70+
let limit = 90; // Kun 'Set point' keenya (Variable)
71+
let temperature = prompt("Ho'a maashinii (Temperature) galchi:");
72+
73+
if (temperature > limit) {
74+
alert("⚠️ WARNING: Ho'i digrii " + limit + " darbeera! Dhaabaa.");
75+
} else {
76+
alert("✅ SAFE: Maashiniin Set Point (" + limit + ") gadi jira.");
77+
}
78+
}
79+
```
80+
6981
</div>
7082
<div class="card" style="border: 2px solid yellow; text-align: center;">
7183
<h3>🛠 Machine Diagnostic Logic (JS)</h3>

0 commit comments

Comments
 (0)