Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Login Page Form #10

Open
hackthetunnelsbot bot opened this issue Sep 30, 2023 · 1 comment
Open

Add Login Page Form #10

hackthetunnelsbot bot opened this issue Sep 30, 2023 · 1 comment

Comments

@hackthetunnelsbot
Copy link

Description:

Checkout: client/src/pages/Login/Login.tsx

The login page you see right now doesn't have the spaces where you can type in your email and password.

Create an input box for email and and input box for password.

Create a login button that when clicked fires the attemptLogin function.

When this button is clicked, it should attempt to login using the email and password from the input boxes.

If the user enters invalid credentials, you should set "message" using the setMessage function.

Acceptance Criteria:

There are boxes to input email and password. When you click the login button with valid credentials, you're able to login. With invalid credentials, you see an error message.

@Maiku3
Copy link
Contributor

Maiku3 commented Sep 30, 2023

!review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: No status
Development

No branches or pull requests

1 participant