Javascript » Use Conditionals

LearnJS »

👉 User Story:

As a user
Given a CodePen url (see below)
I should be asked for my password
    if the password is "friend"
      I should receive a "welcome" message
      I should receive a "you shall not pass" message

You can try things out directly on this pen:

✅ Proposed Solution:

Don't run this unless you gave a very good effort to solve it yourself!

🤓 Resources:

💬 Comments & New Ideas:

results matching ""

    No results matching ""