Skip to content
Advertisement

Writing a program meant to take in a password and the program tells the user its length and if it is too large, too small, or if it is strong [closed]

JavaScript

this is the error message displaying

JavaScript

How do I fix this syntax error on line 14? Not sure what to do as I am new to this. All help is greatly appreciated.

Advertisement

Answer

You just need to ad the comparison operators as outlined here. For your specific code here are the required operators:

JavaScript

Be mindful of the final case where you need to include the min and max password length as True.

Advertisement