Skip to content

Commit 33ac4fc

Browse files
committed
feat(JS) change message displayed to user
1 parent 8ac0fa9 commit 33ac4fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ btns.forEach((btn) => {
9696
}
9797
function zeroDivedByZero(display, outcome) {
9898
Number.isNaN(outcome)
99-
? (display.innerText = "Invalid format: You cannot divided by zero" )
99+
? (display.innerText = "0÷0 is an nvalid format press AC" )
100100
: (display.innerText = outcome)
101101
}
102102
function displayResult(array, outcome) {

0 commit comments

Comments
 (0)