Self review: Create and test a form

Self review: Create and test a form

  1. When the input fields contained no text and you clicked the Log In button, what was the result?

    • The password field changed to a red border

    • The web browser notified that the required field must be completed

    • The form submitted successfully

  2. When the input fields contained a single text character and you clicked the Log In button, what was the result? Select all that apply.

    • The username field changed to a red color.

    • The web browser notified that the minimum length is 2

    • The password field changed to a red color

    • The form submitted successfully

  3. When the username field contained the text "admin" and the password field contained the text "password", what was the result when you clicked the Log In button?

    • The username field changed to a red color

    • The web browser notified that the required fields must be completed

    • The form submitted successfully