File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 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) {
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
5454submitButton . 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
You can’t perform that action at this time.
0 commit comments