File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -43,21 +43,21 @@ userText.addEventListener('keyup', function(e) {
43
43
output . innerHTML = "Correct!" ;
44
44
} else {
45
45
output . classList . add ( "incorrectCaptcha" ) ;
46
- output . innerHTML = "Incorrect, please try again" ;
46
+ output . innerHTML = "Incorrect, please try again! " ;
47
47
}
48
48
}
49
49
} ) ;
50
50
51
51
// 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
53
53
// displayed after validating the input text with CAPTCHA
54
54
submitButton . addEventListener ( 'click' , function ( ) {
55
55
if ( userText . value === c ) {
56
56
output . classList . add ( "correctCaptcha" ) ;
57
57
output . innerHTML = "Correct!" ;
58
58
} else {
59
59
output . classList . add ( "incorrectCaptcha" ) ;
60
- output . innerHTML = "Incorrect, please try again" ;
60
+ output . innerHTML = "Incorrect, please try again! " ;
61
61
}
62
62
} ) ;
63
63
You can’t perform that action at this time.
0 commit comments