Password Prompt Help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Password Prompt Help

https://code.sololearn.com/Wt5RLV8K4k00/?ref=app How do I change the button to say "Logged In!" once the password prompt has been filled out?

25th Jun 2020, 9:23 AM
AlexCreeper
AlexCreeper - avatar
1 Answer
+ 2
check if password length is greater than or equal according to whatever no.of characters you want user to input ,if yes then alert("logged in!")
25th Jun 2020, 10:28 AM
Abhay
Abhay - avatar