Created
November 22, 2017 13:43
-
-
Save tomatohammado/c6e5e21c9a193e9a33d1c1e155f4e2cc to your computer and use it in GitHub Desktop.
Vestibule Week 2 Day 2(7) - ATM assessment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| GAs-MacBook-Air:~ ga$ cd ga-wdi/fundamentals/ | |
| .DS_Store cell_phone_html_css/ github_resume/ wdi-fundamentals-memorygame/ | |
| World/ cookie_clicker_lab/ thinking_like_a_programmer/ | |
| GAs-MacBook-Air:~ ga$ cd ga-wdi/fundamentals/ | |
| .DS_Store cell_phone_html_css/ github_resume/ wdi-fundamentals-memorygame/ | |
| World/ cookie_clicker_lab/ thinking_like_a_programmer/ | |
| GAs-MacBook-Air:~ ga$ cd ga-wdi/fundamentals/ | |
| GAs-MacBook-Air:fundamentals ga$ mkdir atm_assessment | |
| GAs-MacBook-Air:fundamentals ga$ cd atm_assessment/ | |
| GAs-MacBook-Air:atm_assessment ga$ git clone https://git.generalassemb.ly/tomatohammado/atm.git | |
| Cloning into 'atm'... | |
| remote: Counting objects: 100, done. | |
| remote: Compressing objects: 100% (3/3), done. | |
| remote: Total 100 (delta 0), reused 1 (delta 0), pack-reused 97 | |
| Receiving objects: 100% (100/100), 64.12 KiB | 2.29 MiB/s, done. | |
| Resolving deltas: 100% (34/34), done. | |
| GAs-MacBook-Air:atm_assessment ga$ ls | |
| atm | |
| GAs-MacBook-Air:atm_assessment ga$ cd atm/ | |
| GAs-MacBook-Air:atm ga$ ls | |
| atm.css atm.js ga.png index.html readme.md | |
| GAs-MacBook-Air:atm ga$ code . | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| modified: index.html | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add . | |
| GAs-MacBook-Air:atm ga$ git commit -m "added jQuery, tested to see it loaded, added variable for $ so standard js recognizes it." | |
| [master 64e0ffa] added jQuery, tested to see it loaded, added variable for $ so standard js recognizes it. | |
| 2 files changed, 16 insertions(+), 3 deletions(-) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 4, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (4/4), done. | |
| Writing objects: 100% (4/4), 845 bytes | 845.00 KiB/s, done. | |
| Total 4 (delta 1), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (1/1), completed with 1 local object. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| f644015..64e0ffa master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add atm.js | |
| GAs-MacBook-Air:atm ga$ git commit -m "added event listener to the checking account deposit button, tested with console.log" | |
| [master 01b5587] added event listener to the checking account deposit button, tested with console.log | |
| 1 file changed, 4 insertions(+), 2 deletions(-) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 3, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 482 bytes | 482.00 KiB/s, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| 64e0ffa..01b5587 master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| modified: index.html | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add . | |
| GAs-MacBook-Air:atm ga$ git commit -m "added placeholder value for checking input, getting value from it when deposit button is pressed." | |
| [master b6b99f3] added placeholder value for checking input, getting value from it when deposit button is pressed. | |
| 2 files changed, 7 insertions(+), 2 deletions(-) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 4, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (4/4), done. | |
| Writing objects: 100% (4/4), 632 bytes | 632.00 KiB/s, done. | |
| Total 4 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| 01b5587..b6b99f3 master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add atm.js | |
| GAs-MacBook-Air:atm ga$ git commit -m "updates balance displayed (for checking) when deposit is pressed." | |
| [master 5308da5] updates balance displayed (for checking) when deposit is pressed. | |
| 1 file changed, 4 insertions(+) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 3, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 409 bytes | 409.00 KiB/s, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| b6b99f3..5308da5 master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add atm.js | |
| GAs-MacBook-Air:atm ga$ git commit -m "get value of balance element when deposit is pressed. Note: it is a string, and I might have to move it somewhere else in the event listener if I want it to accurately update the balance." | |
| [master 5845aeb] get value of balance element when deposit is pressed. Note: it is a string, and I might have to move it somewhere else in the event listener if I want it to accurately update the balance. | |
| 1 file changed, 5 insertions(+), 1 deletion(-) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 3, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 520 bytes | 520.00 KiB/s, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| 5308da5..5845aeb master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| modified: index.html | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add . | |
| GAs-MacBook-Air:atm ga$ git commit -m "added .01 to placeholder value, testing to see if I can get rid of the '$' and convert the balance to a string." | |
| [master 69b0964] added .01 to placeholder value, testing to see if I can get rid of the '$' and convert the balance to a string. | |
| 2 files changed, 6 insertions(+), 1 deletion(-) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 4, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (4/4), done. | |
| Writing objects: 100% (4/4), 813 bytes | 813.00 KiB/s, done. | |
| Total 4 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| 5845aeb..69b0964 master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add atm.js | |
| GAs-MacBook-Air:atm ga$ git commit -m "deposit button now adds to the balance. It feels sloppy, but it works. There are a few things I can do to improve it, namely making the event listener get the value of the input box, and if it is empty take the placeholder value." | |
| [master f42e926] deposit button now adds to the balance. It feels sloppy, but it works. There are a few things I can do to improve it, namely making the event listener get the value of the input box, and if it is empty take the placeholder value. | |
| 1 file changed, 20 insertions(+), 9 deletions(-) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 3, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 779 bytes | 779.00 KiB/s, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| 69b0964..f42e926 master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add atm.js | |
| GAs-MacBook-Air:atm ga$ git commit -m "added logic to correctly get input value for checking. If there is nothing, take from the placeholder. Otherwise take the value." | |
| [master 7758f43] added logic to correctly get input value for checking. If there is nothing, take from the placeholder. Otherwise take the value. | |
| 1 file changed, 9 insertions(+), 1 deletion(-) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 3, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 474 bytes | 474.00 KiB/s, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| f42e926..7758f43 master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: atm.js | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add atm.js | |
| GAs-MacBook-Air:atm ga$ git commit -m "alright, it was really quick, but it seems the withdraw button works. I need to test it more to see if there are any bugs, I know already that it is possible to have negative balance totals." | |
| [master 11f50da] alright, it was really quick, but it seems the withdraw button works. I need to test it more to see if there are any bugs, I know already that it is possible to have negative balance totals. | |
| 1 file changed, 27 insertions(+) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 3, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 566 bytes | 566.00 KiB/s, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| 7758f43..11f50da master -> master | |
| GAs-MacBook-Air:atm ga$ git checkout -b hammad-malik-assessment-mvp-ish | |
| Switched to a new branch 'hammad-malik-assessment-mvp-ish' | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch hammad-malik-assessment-mvp-ish | |
| nothing to commit, working tree clean | |
| GAs-MacBook-Air:atm ga$ git push | |
| fatal: The current branch hammad-malik-assessment-mvp-ish has no upstream branch. | |
| To push the current branch and set the remote as upstream, use | |
| git push --set-upstream origin hammad-malik-assessment-mvp-ish | |
| GAs-MacBook-Air:atm ga$ git push --set-upstream origin hammad-malik-assessment-mvp-ish | |
| Total 0 (delta 0), reused 0 (delta 0) | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| * [new branch] hammad-malik-assessment-mvp-ish -> hammad-malik-assessment-mvp-ish | |
| Branch 'hammad-malik-assessment-mvp-ish' set up to track remote branch 'hammad-malik-assessment-mvp-ish' from 'origin'. | |
| GAs-MacBook-Air:atm ga$ git checkout master | |
| Switched to branch 'master' | |
| Your branch is up to date with 'origin/master'. | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes not staged for commit: | |
| (use "git add <file>..." to update what will be committed) | |
| (use "git checkout -- <file>..." to discard changes in working directory) | |
| modified: index.html | |
| no changes added to commit (use "git add" and/or "git commit -a") | |
| GAs-MacBook-Air:atm ga$ git add index.html | |
| GAs-MacBook-Air:atm ga$ git commit -m "changed default displayed balances to '$0.00' so it better matches the output. Consistency/!" | |
| -bash: !": event not found | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| Changes to be committed: | |
| (use "git reset HEAD <file>..." to unstage) | |
| modified: index.html | |
| GAs-MacBook-Air:atm ga$ git commit -m "changed default displayed balances to '$0.00' so it better matches the output. Consistency\!" | |
| [master a74aadd] changed default displayed balances to '-bash.00' so it better matches the output. Consistency\! | |
| 1 file changed, 2 insertions(+), 2 deletions(-) | |
| GAs-MacBook-Air:atm ga$ git push | |
| Counting objects: 3, done. | |
| Delta compression using up to 4 threads. | |
| Compressing objects: 100% (3/3), done. | |
| Writing objects: 100% (3/3), 363 bytes | 363.00 KiB/s, done. | |
| Total 3 (delta 2), reused 0 (delta 0) | |
| remote: Resolving deltas: 100% (2/2), completed with 2 local objects. | |
| To https://git.generalassemb.ly/tomatohammado/atm.git | |
| 11f50da..a74aadd master -> master | |
| GAs-MacBook-Air:atm ga$ git status | |
| On branch master | |
| Your branch is up to date with 'origin/master'. | |
| nothing to commit, working tree clean | |
| GAs-MacBook-Air:atm ga$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment