{"action":"created","issue":{"url":"https://api.github.com/repos/phase-0/phase-0/issues/1669","repository_url":"https://api.github.com/repos/phase-0/phase-0","labels_url":"https://api.github.com/repos/phase-0/phase-0/issues/1669/labels{/name}","comments_url":"https://api.github.com/repos/phase-0/phase-0/issues/1669/comments","events_url":"https://api.github.com/repos/phase-0/phase-0/issues/1669/events","html_url":"https://github.com/phase-0/phase-0/issues/1669","id":303684221,"number":1669,"title":"8.1 Build a calculator (Optional Pairing)","user":{"login":"harrison-symes","id":19971385,"avatar_url":"https://avatars3.githubusercontent.com/u/19971385?v=4","gravatar_id":"","url":"https://api.github.com/users/harrison-symes","html_url":"https://github.com/harrison-symes","followers_url":"https://api.github.com/users/harrison-symes/followers","following_url":"https://api.github.com/users/harrison-symes/following{/other_user}","gists_url":"https://api.github.com/users/harrison-symes/gists{/gist_id}","starred_url":"https://api.github.com/users/harrison-symes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/harrison-symes/subscriptions","organizations_url":"https://api.github.com/users/harrison-symes/orgs","repos_url":"https://api.github.com/users/harrison-symes/repos","events_url":"https://api.github.com/users/harrison-symes/events{/privacy}","received_events_url":"https://api.github.com/users/harrison-symes/received_events","type":"User","site_admin":false},"labels":[{"id":797675974,"url":"https://api.github.com/repos/phase-0/phase-0/labels/in%20progress","name":"in progress","color":"e6e6e6","default":false},{"id":830768303,"url":"https://api.github.com/repos/phase-0/phase-0/labels/sprint-8","name":"sprint-8","color":"ededed","default":false}],"state":"open","locked":false,"assignee":{"login":"Ben-Tai","id":33896664,"avatar_url":"https://avatars2.githubusercontent.com/u/33896664?v=4","gravatar_id":"","url":"https://api.github.com/users/Ben-Tai","html_url":"https://github.com/Ben-Tai","followers_url":"https://api.github.com/users/Ben-Tai/followers","following_url":"https://api.github.com/users/Ben-Tai/following{/other_user}","gists_url":"https://api.github.com/users/Ben-Tai/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben-Tai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben-Tai/subscriptions","organizations_url":"https://api.github.com/users/Ben-Tai/orgs","repos_url":"https://api.github.com/users/Ben-Tai/repos","events_url":"https://api.github.com/users/Ben-Tai/events{/privacy}","received_events_url":"https://api.github.com/users/Ben-Tai/received_events","type":"User","site_admin":false},"assignees":[{"login":"Ben-Tai","id":33896664,"avatar_url":"https://avatars2.githubusercontent.com/u/33896664?v=4","gravatar_id":"","url":"https://api.github.com/users/Ben-Tai","html_url":"https://github.com/Ben-Tai","followers_url":"https://api.github.com/users/Ben-Tai/followers","following_url":"https://api.github.com/users/Ben-Tai/following{/other_user}","gists_url":"https://api.github.com/users/Ben-Tai/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben-Tai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben-Tai/subscriptions","organizations_url":"https://api.github.com/users/Ben-Tai/orgs","repos_url":"https://api.github.com/users/Ben-Tai/repos","events_url":"https://api.github.com/users/Ben-Tai/events{/privacy}","received_events_url":"https://api.github.com/users/Ben-Tai/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2018-03-09T00:39:54Z","updated_at":"2018-03-13T02:56:55Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"# 8.1 Build a calculator (Optional Pairing)\nWork on the [Free Code Camp 'Build a calculator'](http://www.freecodecamp.com/challenges/build-a-javascript-calculator) project, ideally with another member of your targetted bootcamp cohort. Keep it simple, it's well within your capabilities. And *don't look at the sample solution yet*.\n\n**[With your pair](https://github.com/dev-academy-programme/curriculum/tree/master/concepts/pairing)** *if possible*:\n\n- [x] Start Toggl timer.\n- [x] If you have one, check-in with your pair:\n  - How did you sleep?\n  - How do you feel now?\n  - Is there anything going on in your life that might affect how you are working right now?\n- [x] Create a new git repository called \"js-calculator\".\n- [x] Reverse pseudocode the [sample solution](http://codepen.io/FreeCodeCamp/pen/EPNZYW) in a waffle comment below. *Remember, there is no 'right way' - the sample solution is just one implementation*.\n- [ ] Build the app:\n  - [ ] Start with building the html, think about what buttons are needed on a calculator\n  - [ ] Next, give your calculator some style. Use skeleton, raw CSS or whatever you feel like to make your buttons look more like a real calculator.\n  - [ ] Finally, start working through the Javascript, this is the hardest part, so...\n    - Take your time and work through small problems.\n    - Make small commits\n    - Refer to your pseudocode.\n    - Use the Developer Tools in your browser.\n    - Reference previous projects/materials for app structure\n    - (If pairing, Change driver-navigator roles approx. every 30 mins)\n    - Ask for help. You can do this!\n- [ ] If you did this challenge as a pair, spend 10 minutes asking each other these questions:\n  - Make sure your feedback is ASK (actionable, specific, kind)\n  - [ ] What did you find awesome about our pairing session?\n  - [ ] What could have been more awesome?\n    - *This question and answer may feel difficult, but is a very valuable learning tool. It can be kind to gently help someone identify their weaknesses so that they can work on them. Remember too that your pair may not completely understand the concept in question, so take their feedback [with a grain of salt](http://www.phrases.org.uk/meanings/take-with-a-grain-of-salt.html).*\n  - [ ] Did you notice any gaps in my understanding?\n"},"comment":{"url":"https://api.github.com/repos/phase-0/phase-0/issues/comments/372530189","html_url":"https://github.com/phase-0/phase-0/issues/1669#issuecomment-372530189","issue_url":"https://api.github.com/repos/phase-0/phase-0/issues/1669","id":372530189,"user":{"login":"Ben-Tai","id":33896664,"avatar_url":"https://avatars2.githubusercontent.com/u/33896664?v=4","gravatar_id":"","url":"https://api.github.com/users/Ben-Tai","html_url":"https://github.com/Ben-Tai","followers_url":"https://api.github.com/users/Ben-Tai/followers","following_url":"https://api.github.com/users/Ben-Tai/following{/other_user}","gists_url":"https://api.github.com/users/Ben-Tai/gists{/gist_id}","starred_url":"https://api.github.com/users/Ben-Tai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ben-Tai/subscriptions","organizations_url":"https://api.github.com/users/Ben-Tai/orgs","repos_url":"https://api.github.com/users/Ben-Tai/repos","events_url":"https://api.github.com/users/Ben-Tai/events{/privacy}","received_events_url":"https://api.github.com/users/Ben-Tai/received_events","type":"User","site_admin":false},"created_at":"2018-03-13T02:56:55Z","updated_at":"2018-03-13T02:56:55Z","author_association":"CONTRIBUTOR","body":"create empty variables for text output: entries, total, temp\nadd onclick function for buttons \nif number, push to temp value, print to log\nif clear, reset temp value, log = '0'\nif AC, reset temp value, reset entries value, log equals 0\nif 'symbol', push temp value to entries array, push symbol to entries array,  print symbol to log, reset temp value\nif '=', push temp to entries array, then calculate, total =  first number in array,  with symbol , by nxtNum in array, and repeat if there are more properties within the array.\nif negative number add '-'"}}
{"actor":{"display_login":"Ben-Tai"}}