Skip to content

iryna-romashko/JS-basics-conditional-operators-if-else-elseif-password-verification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Module 2. JS Programming Basics. Lesson 2. Task 2

Password Verification

The user is prompted to enter a login:

  • When canceling, we write the message "Login cancelled";

  • when entering numbers and an empty line, write the message "I don't know you";

  • when entering a name, ask for a password.

  • When entering the password "LOGOS" write the message "Welcome, user!";

  • when canceling the password, we write the message "Login cancelled";

  • otherwise, write the message "Password error. Please try again".

About

Module 2. JS Programming Basics. Lesson 2. Task 2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published