0

Hello i m just doing a password strength But my problem is with JavaScript and i can't figure out how to get the solution so...

https://code.sololearn.com/W9a9a18A139a/?ref=app

12th Jul 2021, 8:29 AM
Sam A. Ishak
Sam A. Ishak - avatar
4 odpowiedzi
+ 1
Sam A. Ishak Here is an example of how you can check for things . If you don't understand anything feel free to ask , also that test thing is a regular expression i am using , you can ofcourse use another way to check for symbols , characters and alphabets. Also the following code checks for ascii printable characters only (upto 128 or 127) https://code.sololearn.com/WuL0BXAfUhJR/?ref=app
12th Jul 2021, 3:36 PM
Abhay
Abhay - avatar
+ 1
Abhay Oh thank you for your help i m new on JavaScript so i ll understand some Lines alone again thank you it's very useful and explained code and clearly seems like easy i ll work on it.
12th Jul 2021, 4:49 PM
Sam A. Ishak
Sam A. Ishak - avatar
0
How does line 24 to 28 works ? You have unknown curly brackets between those lines and else statement after it causing the error, which should have an if statement before it .
12th Jul 2021, 8:56 AM
Abhay
Abhay - avatar
0
Abhay Thank you for your time i just throw up else like idk whatever thing ik knew it's incorrect idk what to use
12th Jul 2021, 9:07 AM
Sam A. Ishak
Sam A. Ishak - avatar