Password Hint with Multiple Conditions
Look at the string stored in the variable
Add a condition to ensure the password meets both requirements: it should have at least 6 characters and start with an uppercase letter.
The code already checks if the first character is uppercase. You need to add a check for the length.
password
. Add a condition to ensure the password meets both requirements: it should have at least 6 characters and start with an uppercase letter.
The code already checks if the first character is uppercase. You need to add a check for the length.
Premium
JavaScript
Console