Skip to content

Commit cb2491b

Browse files
committed
fixed formatting
1 parent ecf9e10 commit cb2491b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

script.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,21 +43,21 @@ userText.addEventListener('keyup', function(e) {
4343
output.innerHTML = "Correct!";
4444
} else {
4545
output.classList.add("incorrectCaptcha");
46-
output.innerHTML = "Incorrect, please try again";
46+
output.innerHTML = "Incorrect, please try again!";
4747
}
4848
}
4949
});
5050

5151
// This event listener is stimulated whenever the user clicks the "Submit" button
52-
// "Correct!" or "Incorrect, please try again" message is
52+
// "Correct!" or "Incorrect, please try again!" message is
5353
// displayed after validating the input text with CAPTCHA
5454
submitButton.addEventListener('click', function() {
5555
if (userText.value === c) {
5656
output.classList.add("correctCaptcha");
5757
output.innerHTML = "Correct!";
5858
} else {
5959
output.classList.add("incorrectCaptcha");
60-
output.innerHTML = "Incorrect, please try again";
60+
output.innerHTML = "Incorrect, please try again!";
6161
}
6262
});
6363

0 commit comments

Comments
 (0)