Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ document.addEventListener('DOMContentLoaded', function() {

scoreValue.innerText = score;

});
}); if (score == -20 ){
alert("you lost the game ");location.reload();
}
Comment thread
ashishsiot marked this conversation as resolved.

}, 500);

Expand All @@ -72,4 +74,4 @@ document.addEventListener('DOMContentLoaded', function() {

});

})
})