Hack-The-Tunnels-8 / hack-the-tunnels-mediocre-sponges

hack-the-tunnels-mediocre-sponges created by GitHub Classroom
0 stars 0 forks source link

Add Login Page Form #13

Closed hackthetunnelsbot[bot] closed 1 year ago

hackthetunnelsbot[bot] commented 1 year ago

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.

Slimey-Riley commented 1 year ago

!review

Slimey-Riley commented 1 year ago

!completed

Slimey-Riley commented 1 year ago

!complete

hackthetunnelsbot[bot] commented 1 year ago

Solved Challenges for mediocre-sponges

add-404-page: 2 add-footer-component: 2 add-navbar-component: 3 add-partial-dark-mode: 3 hello-client: 1 hello-service: 1 improve-product-preview-card-component: 2 style-page-component: 2 update-favicon: 1 update-page-title: 1

shirleyzhan00 commented 1 year ago

!approve

hackthetunnelsbot[bot] commented 1 year ago

Approved by @shirleyzhan00

hackthetunnelsbot[bot] commented 1 year ago

This challenge unlocked the following challenges: