File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ <h2 class="title text-center">LOGIN SYSTEM</h2>
26
26
27
27
< script >
28
28
29
- $ ( document ) . ready ( function ( ) {
29
+ $ ( document ) . ready ( function ( ) {
30
30
31
31
$ ( "#but" ) . click ( function ( ) {
32
32
@@ -37,7 +37,15 @@ <h2 class="title text-center">LOGIN SYSTEM</h2>
37
37
if ( username == "truecodes" && password == "codeblogger" ) {
38
38
resolve ( "Welcome " + username ) ;
39
39
} else {
40
- reject ( "Check your username and password again." )
40
+ if ( username == "truecodes" && password != "codeblogger" ) {
41
+ reject ( "You entered the password incorrectly." )
42
+ }
43
+ else if ( username != "truecodes" && password == "codeblogger" ) {
44
+ reject ( "You entered the username incorrectly." )
45
+ } else {
46
+ reject ( "Please check your username and password again." )
47
+ }
48
+
41
49
}
42
50
} )
43
51
Original file line number Diff line number Diff line change
1
+ Hello to everyone. I am Furkan. Codeblogger with Instagram name. I'll install small and mid-level projects
2
+ on this github page. Especially, it will be a good resource for beginners and those who want to improve
3
+ themselves( I hope ).
4
+ I will also upload all of my code projects that I have added to my website to this github page.
5
+ If you want to follow me from there my web address: truecodes.org
You can’t perform that action at this time.
0 commit comments