Why this is tricky

Two separate forms share the page, with similarly-named fields (password appears in both). Practice locators that scope correctly to one form instead of grabbing the first match on the page.

Submitting either form with a missing or mismatched field surfaces an inline, locatable error state rather than a browser-native validation bubble.

Log in

Enter your username.

Enter your password.


Register

Enter your name.

Enter a valid email.

Enter a password.

Passwords don't match.

Initial state.