- When the user presses the .signin button, fade in the modal window
- When the user presses the .close button, fade out the modal window
- When the user presses the .submit button, add an .error class to both input elements
- When the user puts their cursor in one of the input fields, remove the .error class
- (Bonus) Allow the user to click the .modal to close itself
- Tricky, consider what happens when two elements that are overlapping are both waiting for a click
- How do you select a CSS element by "name" attribute?
- Can you create the animation using just CSS? (you don't have to do it, just consider how)
- If both input elements have the same functionality, can they share code?
- Create a repo in your own Github account
- If you cloned the project, change the remote location to be your Github repo:
git remote set-url origin https://github.com/[your user name]/[your repo name].git
- Add, Commit, Push