Check Password Strength

Complete the code so that the strength variable is set to 'Strong' if the password is at least 8 characters long, or 'Weak' otherwise. Use if...else.
JavaScript
Console