The body of the DOM should be cleared and the login and registers buttons should also be hidden
A form should be added for Username and email and "login" button
Add information for username and email and click "comp reg" button - should see console log of those values
Add info for username and put nothing in email field and click "login" button - should see console log of email and an alert telling you to fill in both fields (you can try with the email field blank as well)
Try this for the register button as well.
David is working on the redirect for the logged in state so we are not moving away from this form right now.
Impacted Areas in Application
List general components of the application that this PR will affect:
Main page of app will now include a small form to login an existing user
Mentions @username
Tag users that need to review this code
Definition of Done
The project must be fully documented. This includes the following:
Complete README that documents the steps to install the code, how to install any dependencies, or system configuration needed.
Every class must be documented with purpose, author, and methods.
Every method must be documented with purpose and argument list - which itself must contain a short purpose for each argument.
The project must be able to run fully, and without errors, on each teammate's system.
Fulfills every requirement.
Every line of code has been peer reviewed.
For projects that require unit testing, core functionality must be identified and have at least one test for each.
Description of Proposed Changes
Steps to Test
Outline the steps to test
Impacted Areas in Application
List general components of the application that this PR will affect:
Mentions @username
Tag users that need to review this code
Definition of Done