Calculator dreams…

https://github.com/tiy-atl-js-q2-2015/Assignments/blob/master/Assignment%2005/images/calculator.gif?raw=true

I am really tired because I stayed up until about 2 a.m. last night, working through my calculator assignment. I was struggling (and still am) with having functions run when basic math operator buttons are selected (i.e., add, subtract, multiply, and divide) but only displaying the result when the “calculate” button is pushed.

I was able to figure out how to display the result pressing one of the operator buttons, which would have taken my “normal mode” assignment a step further, but it would do nothing to help me get the “hard mode” done, as that one is an actual simple calculator (assignment GIF uploaded). It seems that jQuery would help lots but we haven’t gotten to this yet in class and I actually want to attempt to get it to work with just JavaScript. I’m hard-headed and I know I’ll laugh when I think about how I lost so much sleep worrying about this.

Anyway, I plan on sleeping at least 8 hours tonight because the past 3–4 nights, I clocked in between 4 and 6 hours of sleep. I cannot survive on that little sleep, as I usually need 8–8.5 to have that bounce to my step. Anyway, if you are learning to code, entirely online, on your own, at school, at a bootcamp, whatever, know that you do not struggle alone. There is a massive community of people with dark circles under their eyes. Maybe go out and meet them. That’s what I plan on doing (as much as my introversion shuns the idea! :P).

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.